Commit 513a1f0c by chenwq

mock

1 parent f45040dd
...@@ -16,7 +16,7 @@ export const fetchConfig = function (isEnv = true) { ...@@ -16,7 +16,7 @@ export const fetchConfig = function (isEnv = true) {
return Promise.resolve(config) return Promise.resolve(config)
} }
// /**测试mock */ return window.fetch('https://oss-config.dev.glsx.com.cn/mock/62bd8142304f1311a3b76a04/data-view/config', {}).then(res => res.json()) // /**测试mock */ return window.fetch('https://oss-config.dev.glsx.com.cn/mock/62bd8142304f1311a3b76a04/data-view/config', {}).then(res => res.json())
/**生产 */ return window.fetch('https://oss-config.glsx.com.cn/mock/62cbf569f5137cf37678b828/data-view/config', {}).then(res => res.json()) /**测试mock */ return window.fetch('https://oss-config.test.glsx.com.cn/mock/62cbf569f5137cf37678b828/data-view/config', {}).then(res => res.json())
} }
export const cfg = { export const cfg = {
install (vue, config) { install (vue, config) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!