Commit d94838c6 authored by jisiyu's avatar jisiyu

add: 商家管理

parent ec4be6d4
......@@ -234,7 +234,7 @@ exports.deleteOta = async (ctx) => {
};
// 商家列表-修改
exports.updateOta = async (ctx) => {
const url = `${GOODS_URI}/goods/background/uodate_ota`;
const url = `${GOODS_URI}/goods/background/update_ota`;
const opts = {
url,
method: "POST",
......
......@@ -111,7 +111,8 @@
methods: {
modifyMerchant(id, index) {
if (typeof id == "number") {
this.addMerchant = this.merchantList[index];
// this.addMerchant = this.merchantList[index];
this.addMerchant = JSON.parse(JSON.stringify(this.merchantList[index]));
}
this.merchantAdd = true;
},
......
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