Commit 0539ccd7 by 前端

Merge branch 'liwk_dev_1.0.0' into 'master'

切换生产mock

See merge request !13
2 parents 820d57cb 625a8706
......@@ -16,8 +16,9 @@ export const fetchConfig = function(isEnv = true) {
return Promise.resolve(config)
}
/**测试mock */
return window.fetch('https://oss-config.dev.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-psd-config', {}).then(res => res.json())
/**生产mock */ // return window.fetch('http://oss-config.test.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-psd-config', {}).then(res => res.json())
// return window.fetch('https://oss-config.dev.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-psd-config', {}).then(res => res.json())
/**生产mock */ return window.fetch('https://oss-config.test.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-psd-config', {}).then(res => res.json())
}
export const cfg = {
install(vue, config) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!