Java微尘
Java微尘
  • 发布:2020-06-17 09:10
  • 更新:2020-06-17 14:17
  • 阅读:592

【报Bug】更新HBuilderX2.7.9 安卓App端api失效与报警告

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win-7

HBuilderX类型: 正式

HBuilderX版本号: 2.7.9

手机系统: Android

手机系统版本号: Android 8.1

手机厂商: 小米

手机机型: MI8 SE

页面类型: vue

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

uni.setNavigationBarTitle({
title: "123123",
success:function(){
console.log(1111111)
}
});

<picker style="width:100%;height: 100%;" mode="selector" @change="bindUserChange" :value="index" :range="userList" :range-key="'label'">
<view class="flexPicker">
<view class="f32">{{userList[indexUser].label}}</view>
<i class="iconfont el-icon-ali-Icon-sousuo"></i>
</view>
</picker>

预期结果:

title设置为123123
picker 不报index异常

实际结果:
title没有变化 value="index" 报index没有被定义

bug描述:

在将HbuilderX由2.6.5更新为2.7.9后,在安卓手机端测试,有如下问题:
使用picker会报异常。uni.setNavigationBarTitle调用成功,不生效。I18N也不好使。
在小程序端,完全没用问题。

2020-06-17 09:10 负责人:无 分享
已邀请:
DCloud_uni-ad_HDX

DCloud_uni-ad_HDX

HBuilderX 2.7.11+ 已修复 uni.setNavigationBarTitle 在 Android 下无效问题

Java微尘

Java微尘 (作者)

报错
[Vue warn]: Error in render: "TypeError: undefined is not an object (evaluating '_vm.userList[_vm.indexUser].label')"

14:13:01.909 [Vue warn]: Property or method "index" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

14:13:01.950 (found at pages/w_taskAdd/w_taskAdd.vue:1)

该问题目前已经被锁定, 无法添加新回复