pages/product/feed/locationList.vue
@@ -80,9 +80,7 @@ }, onShow() { let that = this uni.$off('scan') // 每次进来先 移除全局自定义事件监听器 uni.$on('scan', function(data) { console.log('onscan'); @@ -192,5 +190,8 @@ text-align: right; } .nodata{width: 20%;margin: auto;} .nodata { width: 20%; margin: auto; } </style>