From 442aa09a5f2173b4c47aad67475e8bcceb1fdc8c Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 25 八月 2022 11:17:11 +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