附件有可复现示例
- 发布:2020-09-30 10:58
- 更新:2020-10-15 22:12
- 阅读:925
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 10.15.7
HBuilderX类型: Alpha
HBuilderX版本号: 2.9.3
手机系统: Android
手机系统版本号: Android 10
手机厂商: 模拟器
手机机型: Pixel_3_XL_API_29
页面类型: vue
打包方式: 云端
项目创建方式: HBuilderX
示例代码:
操作步骤:
入口页使用reLaunch方法跳转进入内页,在内页使用uni.getImageInfo方法
入口页使用reLaunch方法跳转进入内页,在内页使用uni.getImageInfo方法
预期结果:
入口页使用reLaunch方法跳转进入内页,在内页使用uni.getImageInfo方法不会报错
入口页使用reLaunch方法跳转进入内页,在内页使用uni.getImageInfo方法不会报错
实际结果:
入口页使用reLaunch方法跳转进入内页,在内页使用uni.getImageInfo方法就会报错
入口页使用reLaunch方法跳转进入内页,在内页使用uni.getImageInfo方法就会报错
bug描述:
manifest.json 开启fast启动模式
"app-plus" : {
"nvueLaunchMode" : "fast",
}
入口页使用reLaunch方法跳转进入内页,在内页使用uni.getImageInfo方法就会报错(Android端报错,iOS端正常)
报错内容如下:
10:45:39.010 [JS Framework] Failed to find taskCenter (1).
10:45:39.033 TypeError: plus.weexBridge.execSync is not a function
chenli (作者)
@DCloud_Android_ST 复现有结果了吗?
-
chenli (作者)
回复 DCloud_UNI_FXY: 同一个uni.getImageInfo方法的问题 这个返回值类型问题https://ask.dcloud.net.cn/question/108893
2020-10-15 21:05
chenli (作者)
还以为有结果了呢
2020-10-09 18:27