From 70686e45d2ea1e72b1aebdc65ad1a920890cde28 Mon Sep 17 00:00:00 2001 From: mabo Date: Mon, 17 May 2021 18:13:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8F=E8=A7=88=E5=99=A8?= =?UTF-8?q?=E9=A1=B5=E7=AD=BE=E5=90=8D=E7=A7=B0=EF=BC=8C=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E5=95=86=E5=93=81=E9=A1=B5=E9=9D=A2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/libs/util.js | 2 +- seller/src/config/index.js | 12 +++++--- seller/src/libs/util.js | 2 +- .../goods/goods-seller/goodsOperation.vue | 28 ++++++++++--------- 4 files changed, 25 insertions(+), 19 deletions(-) diff --git a/manager/src/libs/util.js b/manager/src/libs/util.js index 86ef7d61..bb47b972 100644 --- a/manager/src/libs/util.js +++ b/manager/src/libs/util.js @@ -9,7 +9,7 @@ let util = { }; util.title = function (title) { - title = title || 'lili '; + title = title || 'lili 运营后台'; window.document.title = title; }; diff --git a/seller/src/config/index.js b/seller/src/config/index.js index 0ae255f4..16512d47 100644 --- a/seller/src/config/index.js +++ b/seller/src/config/index.js @@ -18,10 +18,14 @@ export default { * @description api请求基础路径 */ api_dev: { - common: 'https://common-api.pickmall.cn', - buyer: 'https://buyer-api.pickmall.cn', - seller: 'https://store-api.pickmall.cn', - manager: 'https://admin-api.pickmall.cn' + // common: 'https://common-api.pickmall.cn', + // buyer: 'https://buyer-api.pickmall.cn', + // seller: 'https://store-api.pickmall.cn', + // manager: 'https://admin-api.pickmall.cn' + common: 'http://192.168.0.100:8890', + buyer: 'http://192.168.0.100:8888', + seller: 'http://192.168.0.100:8889', + manager: 'http://192.168.0.100:8887' }, api_prod: { common: 'https://common-api.pickmall.cn', diff --git a/seller/src/libs/util.js b/seller/src/libs/util.js index 53fe0a98..2cc9a1a7 100644 --- a/seller/src/libs/util.js +++ b/seller/src/libs/util.js @@ -10,7 +10,7 @@ let util = { }; util.title = function (title) { - title = title || 'lili '; + title = title || 'lili 商家后台'; window.document.title = title; }; diff --git a/seller/src/views/goods/goods-seller/goodsOperation.vue b/seller/src/views/goods/goods-seller/goodsOperation.vue index 5a3362d7..9eff1bcb 100644 --- a/seller/src/views/goods/goods-seller/goodsOperation.vue +++ b/seller/src/views/goods/goods-seller/goodsOperation.vue @@ -8,13 +8,13 @@ process-status="process" >
- +
- +
- +
@@ -528,7 +528,7 @@ v-model="baseInfoForm.freightPayer" > - 买家承担运费 + 卖家承担运费 使用物流规则 @@ -1189,7 +1189,7 @@ export default { } }, gotoGoodsList() { - this.$router.push({name: "seller-goods"}); + this.$router.push({name: "goods"}); }, gotoBack() { this.$router.go(); @@ -1220,14 +1220,12 @@ export default { i.title = i.labelName; i.expand = false; i.checked = shopCategories.some((o) => o === i.id); - if (i.list) { - i.children = i.list.map((j) => { - j.title = j.labelName; - j.expand = false; - j.checked = shopCategories.some((o) => o === j.id); - return j; - }); - } + i.children = i.children.map((j) => { + j.title = j.labelName; + j.expand = false; + j.checked = shopCategories.some((o) => o === j.id); + return j; + }); return i; }); } @@ -1730,6 +1728,7 @@ export default { }, /** 上一步*/ pre() { + window.scrollTo(0,0) this.loading = true; if (this.activestep === 1) { this.toPreCount > 0 @@ -1745,6 +1744,8 @@ export default { }, /** 下一步*/ next() { + console.log(111); + window.scrollTo(0,0) if (this.activestep === 0 && this.draftId) { this.activestep = 1; this.GET_GoodData(); @@ -1880,6 +1881,7 @@ export default { if (res.success) { this.submitLoading = false; this.activestep = 2; + window.scrollTo(0,0) }else{ this.submitLoading = false; }