Commit c3282467 by 前端

3.4.0改版修改mock

1 parent 43bb0930
...@@ -20,9 +20,8 @@ export const fetchConfig = function(isEnv = true) { ...@@ -20,9 +20,8 @@ export const fetchConfig = function(isEnv = true) {
// return Promise.resolve(cfg) // return Promise.resolve(cfg)
// } // }
//return window.fetch('https://', {}).then(res => res.json()) //return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' }) return new Http().get('https://oss-config.glsx.com.cn/mock/63c129a528a4279537834035/content/config')
// return new Http().get('https://oss-config.test.glsx.com.cn/mock/6351298f6a118b4ff787ef2b/live/config') // return new Http().get('https://oss-config.dev.glsx.com.cn/mock/63969466b9cfb051d7d5fc27/content/config')
return new Http().get('https://oss-config.dev.glsx.com.cn/mock/63969466b9cfb051d7d5fc27/content/config')
} }
export const config = { export const config = {
install(vue, cfg) { install(vue, cfg) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!