修复bug
This commit is contained in:
@@ -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 () {
|
||||||
|
|||||||
Reference in New Issue
Block a user