Commit 3f05ff4e by 前端

Merge branch 'wangzh_dev_v1.2.1' into 'master'

关闭控制台

See merge request !6
2 parents 841a8e64 85cae028
...@@ -38,7 +38,7 @@ Vue.prototype.to = function (name, params) { ...@@ -38,7 +38,7 @@ Vue.prototype.to = function (name, params) {
// import 'lib-flexible/flexible.js' // import 'lib-flexible/flexible.js'
Vue.config.productionTip = false Vue.config.productionTip = false
import VConsole from 'vconsole' // import VConsole from 'vconsole'
const isMock = true const isMock = true
fetchConfig(!isMock).then(res => { fetchConfig(!isMock).then(res => {
...@@ -46,7 +46,7 @@ fetchConfig(!isMock).then(res => { ...@@ -46,7 +46,7 @@ fetchConfig(!isMock).then(res => {
// 设置 js中可以访问 $cdn // 设置 js中可以访问 $cdn
Vue.use(cfg) Vue.use(cfg)
window.$fetchConfig = res window.$fetchConfig = res
if (res.vconsole) new VConsole() // if (res.vconsole) new VConsole()
/**登录过期 重新登录 */ /**登录过期 重新登录 */
window.reLogin = () => { window.reLogin = () => {
// console.log('重新登录') // console.log('重新登录')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!