win10打开图片选择总是卡死BUG(附截图)
发布于 5 年前 作者 mcui 3520 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)
  • 预期表现

点击选择图片

  • 复现路径

只要点击图片选择器就卡死未响应

  • 提供一个最简复现 Demo

btnEew: function() {

//扫描患者腕带获取ID

var that = this;

uni.scanCode({

success: function(res) {

if (res.errMsg == ‘scanCode:ok’) {

if (that.if_UserShow == false) {

that.Barcode = res.result;

//获取患者ID

that.GetBloodPatien();

} else {

that.Barcode = res.result;

//获取患者ID

that.btnBoolInfo();

}

} else {

uni.showToast({

title: ‘数据异常’,

icon: ‘none’,

duration: 1500

});

return;

}

},

fail: function(res) {}

});

}

回到顶部