setImmediate(() => {
this.serviceCompanyName = e.detail.value;
this.serviceCompanySearch = [];
this.companyList.forEach((item) => {
if(item.companyName.indexOf(e.detail.value) + '' !== '-1') {
this.serviceCompanySearch.push(item);
}
});
this.companyList.forEach((item) => {
if(item.companyName === e.detail.value) {
this.svCompanyId = item.companyId;
} else {
this.svCompanyId = '';
}
});
})
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
at VueComponent.compFocus (submit.js? [sm]:660)
at vendor.js? [sm]:1341
at Array.forEach (<anonymous>)
at vendor.js? [sm]:1298
at Array.forEach (<anonymous>)
at Ui.handleEvent [as __e] (vendor.js? [sm]:1288)
at Object.i.safeCallback (VM187 WAService.js:2)
at VM187 WAService.js:2
at Cr (VM187 WAService.js:2)
at VM187 WAService.js:2(env: Windows,mp,1.05.2110110; lib: 2.19.5)
微信开发者工具也会出现此问题,微信的版本库高于2.17.0,2.17.0及以下版本没有问题
你想说啥