From 36c7d5019c91fe68c54697a0d5500d43698a687a Mon Sep 17 00:00:00 2001 From: zhangdongxue Date: Thu, 4 Nov 2021 16:17:29 +0800 Subject: [PATCH 1/2] [...] --- apis/index.js | 4 ++-- pages/goods/add.vue | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/apis/index.js b/apis/index.js index 5282b78..aaa096b 100644 --- a/apis/index.js +++ b/apis/index.js @@ -10,8 +10,8 @@ import router from '../router' // 基础配置 const config = { - // apiUrl : 'https://oapi.lianshang.vip/api/', // 正式环境 - apiUrl : 'http://api.ahxh.shangkelian.cn/api/', // 测试环境 + apiUrl : 'https://oapi.lianshang.vip/api/', // 正式环境 + // apiUrl : 'http://api.ahxh.shangkelian.cn/api/', // 测试环境 apiUrls : 'https://storage.lianshang.vip/', // 图片路径(测试/正式) timeout : 60000 } diff --git a/pages/goods/add.vue b/pages/goods/add.vue index 9a38fee..331b475 100644 --- a/pages/goods/add.vue +++ b/pages/goods/add.vue @@ -228,9 +228,6 @@ return this.percent * this.skus_price } }, - onShow() { - console.log(this.$route) - }, created() { // 编辑状态信息 if(this.$Route.query.type && this.$Route.query.type === 'edit'){ From 30ff4209abd776cde6c0a45a74e0b2e4da8bbb42 Mon Sep 17 00:00:00 2001 From: zhangdongxue Date: Thu, 4 Nov 2021 18:18:57 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=9C=80=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/index.js b/apis/index.js index 5282b78..aaa096b 100644 --- a/apis/index.js +++ b/apis/index.js @@ -10,8 +10,8 @@ import router from '../router' // 基础配置 const config = { - // apiUrl : 'https://oapi.lianshang.vip/api/', // 正式环境 - apiUrl : 'http://api.ahxh.shangkelian.cn/api/', // 测试环境 + apiUrl : 'https://oapi.lianshang.vip/api/', // 正式环境 + // apiUrl : 'http://api.ahxh.shangkelian.cn/api/', // 测试环境 apiUrls : 'https://storage.lianshang.vip/', // 图片路径(测试/正式) timeout : 60000 }