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) {
return request({
url: '/system/device',
url: '/system/product',
method: 'post',
data
})

View File

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