imageSourceModule.fromFile(path)在nativescript中返回null

时间:2019-02-14 18:57:26

标签: nativescript

代码是:

let folder = fileSystemModule.knownFolders.currentApp();

let path = fileSystemModule.path.join(folder.path,img.src.android);

let abc = imageSourceModule.fromPath(path);

0 个答案:

没有答案