diff --git a/common/config.js b/common/config.js index c0a37b3..4f0fb9f 100644 --- a/common/config.js +++ b/common/config.js @@ -1,14 +1,16 @@ const mode = 'production'; //devLocal:本地测试、devOnline:线上测试、production:生产环境 let ROOTPATH = ''; //域名 +// let baseUrl = "https://suzhoukeji-test.ali251.langye.net" +let baseUrl = "https://wx.sstbc.com" switch (mode) { case 'devLocal': - ROOTPATH = "https://suzhoukeji-test.ali251.langye.net" + ROOTPATH = baseUrl break; case 'devOnline': - ROOTPATH = "https://suzhoukeji-test.ali251.langye.net" + ROOTPATH = baseUrl break; case 'production': - ROOTPATH = "https://suzhoukeji-test.ali251.langye.net" + ROOTPATH = baseUrl break; default: throw new Error('未配置环境'); diff --git a/components/w-select/w-select.vue b/components/w-select/w-select.vue index 23d663e..e12f926 100644 --- a/components/w-select/w-select.vue +++ b/components/w-select/w-select.vue @@ -389,7 +389,7 @@ export default {