ip
This commit is contained in:
@ -20,7 +20,7 @@ export function Info(productId) {
|
||||
// 新增产品
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: '/system/device',
|
||||
url: '/system/product',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user