From f7b8713be14b9f2a822d1571e97dd791b0836fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Fri, 17 Sep 2021 17:16:15 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=95=86=E5=AE=B6=E7=AB=AF?= =?UTF-8?q?=20=20=E5=95=86=E5=AE=B6=E5=88=97=E8=A1=A8=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/seller/shop/shopOperation.vue | 2 ++ seller/src/main.js | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manager/src/views/seller/shop/shopOperation.vue b/manager/src/views/seller/shop/shopOperation.vue index d54eaee9..4ea23f6f 100644 --- a/manager/src/views/seller/shop/shopOperation.vue +++ b/manager/src/views/seller/shop/shopOperation.vue @@ -517,6 +517,8 @@ export default { if (res.success) { this.infoResult = res.result; this.shopForm = res.result; + this.shopForm.selfOperated ? this.shopForm.selfOperated = 1 : this.shopForm.selfOperated = 0 + this.checkAllGroup = this.shopForm.goodsManagementCategory.split(","); if (this.shopForm.settlementCycle) { this.settlementCycle = this.shopForm.settlementCycle.split(',') diff --git a/seller/src/main.js b/seller/src/main.js index 250ceeb0..48239dcb 100644 --- a/seller/src/main.js +++ b/seller/src/main.js @@ -8,8 +8,6 @@ import vueQr from "vue-qr"; import App from "./App"; import { router } from "./router/index"; import store from "./store"; -import config from '@/config/index' - import { getRequest, postRequest, @@ -50,8 +48,8 @@ Vue.prototype.setStore = setStore; Vue.prototype.getStore = getStore; Vue.prototype.removeStore = removeStore; Vue.prototype.md5 = md5; -const PC_URL = config.PC_URL; // 跳转买家端地址 pc端 -const WAP_URL = config.WAP_URL; // 跳转买家端地址 wap端 +const PC_URL = BASE.PC_URL; // 跳转买家端地址 pc端 +const WAP_URL = BASE.WAP_URL; // 跳转买家端地址 wap端 Vue.prototype.linkTo = function(goodsId, skuId) { // 跳转买家端商品 window.open(