#
whycq
2022-08-25 442aa09a5f2173b4c47aad67475e8bcceb1fdc8c
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 {