pages/basics/notificationFile.vue
@@ -77,6 +77,7 @@ getList(barcode) { let that = this if (barcode == '') { that.listData = [] uni.showToast({title: '请输入托盘码', icon: "none",position: 'center'}) return } @@ -90,10 +91,8 @@ header: {'token':uni.getStorageSync('token')}, method:'GET', success: result =>{ console.log(result); let res = result.data if (res.code === 200) { console.log(res.data.records.length); if (res.data.records.length>0) { that.listData = res.data.records } else {