更新商品设置热门
This commit is contained in:
@@ -172,11 +172,10 @@ export default {
|
|||||||
},
|
},
|
||||||
// 设置热门
|
// 设置热门
|
||||||
async changeHot(e, row) {
|
async changeHot(e, row) {
|
||||||
console.log(row)
|
|
||||||
try {
|
try {
|
||||||
this.tableData.loading = true
|
this.tableData.loading = true
|
||||||
await tbProductIsHot({
|
await tbProductIsHot({
|
||||||
shopId: localStorage.getItem('shopId'),
|
isHot: e,
|
||||||
id: row.id
|
id: row.id
|
||||||
})
|
})
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
|
|||||||
Reference in New Issue
Block a user