新增添加商品

This commit is contained in:
gyq
2024-05-16 10:09:31 +08:00
parent 055b0a068b
commit 8135d4616b
3 changed files with 117 additions and 48 deletions

View File

@@ -112,7 +112,6 @@ export default {
shopId: localStorage.getItem('shopId'),
sort: 'id',
})
this.tableData.loading = false
this.tableData.list = res.content
this.tableData.total = res.totalElements
@@ -121,6 +120,9 @@ export default {
this.selection()
})
}
setTimeout(() => {
this.tableData.loading = false
}, 500);
} catch (error) {
console.log(error)
}