更新商品设置热门

This commit is contained in:
gyq 2024-08-02 15:11:27 +08:00
parent 744632324b
commit 07551be485
1 changed files with 4 additions and 5 deletions

View File

@ -172,11 +172,10 @@ export default {
},
//
async changeHot(e, row) {
console.log(row)
try {
this.tableData.loading = true
await tbProductIsHot({
shopId: localStorage.getItem('shopId'),
isHot: e,
id: row.id
})
this.getTableData()