更新商品设置热门

This commit is contained in:
gyq
2024-08-02 15:11:27 +08:00
parent 744632324b
commit 07551be485

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()