修复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: {
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 () {