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'){