项目接单
项目接单
  • 发布:2023-11-03 09:02
  • 更新:2023-11-03 09:02
  • 阅读:225

#插件讨论# 【 文件选择,支持自定义路径,自定义筛选类型,多选 - aq 】报错,无法授权

分类:插件市场

还有在维护吗?
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):""

2023-11-03 09:02 负责人:无 分享
已邀请:

要回复问题请先登录注册