这没办法销毁插件 没人处理么?
app.globalData.barcodeModel.closeScan((ret) => {
console.log('扫描已关闭:', ret);
});
app.globalData.globalEvent.removeEventListener('iDataBarcodeEvent',this.jianting);
this.jianting=null
触发成功 重新进入 还是有新增一个监听事件出来 什么原因嗯
这没办法销毁插件 没人处理么?
app.globalData.barcodeModel.closeScan((ret) => {
console.log('扫描已关闭:', ret);
});
app.globalData.globalEvent.removeEventListener('iDataBarcodeEvent',this.jianting);
this.jianting=null
触发成功 重新进入 还是有新增一个监听事件出来 什么原因嗯
0 个回复