修复bug

This commit is contained in:
yanran200730
2023-08-18 17:55:43 +08:00
parent c832225ac6
commit 5d58a1d67a

View File

@@ -220,7 +220,6 @@ import { Message } from 'element-ui'
methods: { methods: {
beforeGetList() { beforeGetList() {
this.isLoading = true
this.list = [] this.list = []
this.currentPage = 1 this.currentPage = 1
this.todayMoney = 0.0 this.todayMoney = 0.0
@@ -228,13 +227,15 @@ import { Message } from 'element-ui'
this.inventoryMoeny = 0.0 this.inventoryMoeny = 0.0
this.inventoryTotal = 0 this.inventoryTotal = 0
if (!this.mallId) { if (!this.mallId) {
Message.error("请先选择店铺") Message.error("请先选择店铺")
return return
} }
this.isLoading = true
this.$userCheck(this.mallId).then(() => { this.$userCheck(this.mallId).then(() => {
this.getList() this.getList()
}).catch((err) => { }).catch((err) => {
console.log(err) this.isLoading = false
}) })
}, },
getList () { getList () {