ip
This commit is contained in:
@ -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
|
||||||
})
|
})
|
||||||
|
@ -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();
|
||||||
|
Reference in New Issue
Block a user