From 4aa1546dda1adf637a8d612c6dc0a535532294b4 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期一, 17 四月 2023 12:28:56 +0800 Subject: [PATCH] # --- pages/basics/notificationFile.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/pages/basics/notificationFile.vue b/pages/basics/notificationFile.vue index aa1615e..c0848a8 100644 --- a/pages/basics/notificationFile.vue +++ b/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 { -- Gitblit v1.9.1