还有在维护吗?
2个问题
1是好多一部分手机 无法授权
2一下报错
error: Type mismatch: inferred type is Number but Int was expected
08:52:18.905 at uni_modules/lemon-filePicker/utssdk/app-android/index.uts:88:86
08:52:18.905 86 | // let eventName = "onAppActivityResult - requestCode:" + requestCode + " -resultCode:"+resultCode + " -data:"+JSON.stringify(data);
08:52:18.905 87 | UTSAndroid.offAppActivityResult();
08:52:18.905 88 | if (requestCode == FILE_SELECT_REQUEST_CODE && resultCode == Activity.RESULT_OK && data != null) {
08:52:18.920 | ^
08:52:18.920 89 | const fileUri = data.getData();
08:52:18.936 90 |
08:52:18.936 error: Type mismatch: inferred type is Number but Int was expected
08:52:18.952 at uni_modules/lemon-filePicker/utssdk/app-android/index.uts:98:32
08:52:18.952 96 | let upLoadFilePath = file.toString();
08:52:18.952 97 | let upLoadFileName = file.getName();
08:52:18.967 98 | let fileSize = file.length();
08:52:18.967 | ^
08:52:18.983 99 | const extIdx= upLoadFilePath.lastIndexOf(".");
08:52:18.983 100| let fileType =extIdx!=-1?upLoadFilePath.substring(extIdx+1):""
0 个回复