This commit is contained in:
hh
2020-11-10 10:37:33 +08:00
parent 2ded8ff672
commit d64cd9d7bd
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ export function Info(productId) {
// 新增产品 // 新增产品
export function add(data) { export function add(data) {
return request({ return request({
url: '/system/device', url: '/system/product',
method: 'post', method: 'post',
data data
}) })

View File

@ -245,7 +245,7 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning"
}).then(() => { }).then(() => {
return delproduct(ids); return del(ids);
}).catch(() => { }).then(res => { }).catch(() => { }).then(res => {
if (200 == res.code) { if (200 == res.code) {
this.getList(); this.getList();