From 5d58a1d67ace3893a8ecc6f5c67ac27057361a22 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Fri, 18 Aug 2023 17:55:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/ExportSaleData.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/view/ExportSaleData.vue b/src/view/ExportSaleData.vue index c2ee2ed..6933048 100644 --- a/src/view/ExportSaleData.vue +++ b/src/view/ExportSaleData.vue @@ -220,7 +220,6 @@ import { Message } from 'element-ui' methods: { beforeGetList() { - this.isLoading = true this.list = [] this.currentPage = 1 this.todayMoney = 0.0 @@ -228,13 +227,15 @@ import { Message } from 'element-ui' this.inventoryMoeny = 0.0 this.inventoryTotal = 0 if (!this.mallId) { + Message.error("请先选择店铺") return } + this.isLoading = true this.$userCheck(this.mallId).then(() => { this.getList() }).catch((err) => { - console.log(err) + this.isLoading = false }) }, getList () {