修复optType:stock 传参时多了个空格问题
This commit is contained in:
@@ -449,7 +449,7 @@ async function isStockChange(data: any) {
|
|||||||
type: "product",
|
type: "product",
|
||||||
id: data.id,
|
id: data.id,
|
||||||
isSale: data.isStock,
|
isSale: data.isStock,
|
||||||
optType: "stock ",
|
optType: "stock",
|
||||||
};
|
};
|
||||||
await UserAPI.onOff(obj);
|
await UserAPI.onOff(obj);
|
||||||
ElMessage.success("修改成功!");
|
ElMessage.success("修改成功!");
|
||||||
|
|||||||
Reference in New Issue
Block a user