Commit 19293041 authored by mengwenhao's avatar mengwenhao

fix: 商品提交信息修改

parent c7faa17d
...@@ -627,7 +627,7 @@ import { ...@@ -627,7 +627,7 @@ import {
checkGoodsName, checkGoodsName,
getShopsList, getShopsList,
postAddShop, postAddShop,
// editGoods editGoods
} from "@/service/Goods/goods"; } from "@/service/Goods/goods";
import { GOODS_URI } from "../../../../server/config.js"; import { GOODS_URI } from "../../../../server/config.js";
...@@ -1276,12 +1276,12 @@ export default { ...@@ -1276,12 +1276,12 @@ export default {
console.log(query); console.log(query);
// const res = await editGoods(query); const res = await editGoods(query);
// if (res.code !== 0) { if (res.code !== 0) {
// return this.$message.error(res.reason); return this.$message.error(res.reason);
// } }
// this.$message.success("商品编辑成功!"); this.$message.success("商品编辑成功!");
// this.$router.replace({ name: "GoodsList" }); this.$router.replace({ name: "GoodsList" });
} }
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment