Commit 9876a611 authored by linlinjava's avatar linlinjava
Browse files

feat[litemall-admin]: 删除商品确认

parent e1d44016
......@@ -189,6 +189,12 @@ export default {
this.detailDialogVisible = true
},
handleDelete(row) {
this.$confirm('确定删除?', '警告', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
center: true
}).then(() => {
deleteGoods(row).then(response => {
this.$notify.success({
title: '成功',
......@@ -201,6 +207,7 @@ export default {
message: response.data.errmsg
})
})
}).catch(() => {})
},
handleDownload() {
this.downloadLoading = true
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment