feat:Image add imageFilePath

This commit is contained in:
pengfei.zhou
2021-08-05 17:42:45 +08:00
committed by osborn
parent 57cfdd38e1
commit bfa865fe5d
11 changed files with 86 additions and 20 deletions

4
doric-js/index.d.ts vendored
View File

@@ -528,6 +528,10 @@ declare module 'doric/lib/src/widget/image' {
}
export class Image extends View {
imageUrl?: string;
/**
* Read image from local file system.
*/
imageFilePath?: string;
/**
* Read image from local path
* For android,it based on assets dir.