Commit 26134358 by 李伟康

mock 改成https

1 parent 77f35ba8
...@@ -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 */ /**测试mock */
return window.fetch('http://oss-config.dev.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('http://oss-config.test.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())
} }
export const cfg = { export const cfg = {
......
<template> <template>
<div class="layout"> <div class="layout">
<div class="tab"> <div class="tab">
<tab <template v-if="tab.length">
:list="tab" <tab
:updata="updata" :list="tab"
@change="change" :updata="updata"
> @change="change"
</tab> >
</tab>
</template>
<dropdown-menu <dropdown-menu
class="menu" class="menu"
title="业务类型" title="业务类型"
...@@ -60,13 +62,13 @@ export default { ...@@ -60,13 +62,13 @@ export default {
name: '', name: '',
data () { data () {
return { return {
} }
}, },
mounted () { mounted () {
}, },
methods: { methods: {
} }
} }
</script> </script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!