Commit 63e6d7f1 by xinla

运营中心路由等

1 parent af839bce
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ENV = 'development' ENV = 'development'
# 基础api(根据实际情况,自行配置,下为示例) # 基础api(根据实际情况,自行配置,下为示例)
VUE_APP_BASE_API = 'http://demo.linkwechat.cn/prod-api' VUE_APP_BASE_API = 'http://demo.linkwechat.cn/dev-api'
# 路由基础路径 # 路由基础路径
VUE_APP_BASE_URL = '/' VUE_APP_BASE_URL = '/'
\ No newline at end of file \ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ENV = 'production' ENV = 'production'
# 基础api # 基础api
VUE_APP_BASE_API = 'http://demo.linkwechat.cn/prod-api' VUE_APP_BASE_API = 'http://demo.linkwechat.cn/dev-api'
# 路由基础路径 # 路由基础路径
VUE_APP_BASE_URL = '/' VUE_APP_BASE_URL = '/'
\ No newline at end of file \ No newline at end of file
...@@ -44,25 +44,25 @@ export const constantRoutes = [ ...@@ -44,25 +44,25 @@ export const constantRoutes = [
}, },
{ {
path: '/index', path: '/index',
component: Layout, redirect: '/operateCenter/index/dataAnalysis',
redirect: '/index', hidden: true
name: '运营中心', // name: '运营中心',
meta: { title: '运营中心' }, // meta: { title: '运营中心' }
children: [ // children: [
{ // {
path: '/index', // path: '/index',
component: (resolve) => require(['@/views/index'], resolve), // component: (resolve) => require(['@/views/index'], resolve),
name: '运营中心', // name: '运营中心',
hidden: true, // hidden: true,
meta: { // meta: {
title: '运营中心', // title: '运营中心',
icon: 'dashboard', // icon: 'dashboard',
breadcrumb: false, // breadcrumb: false,
noCache: true, // noCache: true,
affix: true // affix: true
} // }
} // }
] // ]
}, },
{ {
path: '/login', path: '/login',
......
...@@ -166,14 +166,14 @@ export default { ...@@ -166,14 +166,14 @@ export default {
this.getCode() this.getCode()
this.getCookie() this.getCookie()
this.$confirm( // this.$confirm(
'LinkWeChat V2.0 正式发布公测,遇到使用上的问题欢迎提交 Issue,我们将光速修复。', // 'LinkWeChat V2.0 正式发布公测,遇到使用上的问题欢迎提交 Issue,我们将光速修复。',
'提示', // '提示',
{ // {
confirmButtonText: '确定', // confirmButtonText: '确定',
cancelButtonText: '取消' // cancelButtonText: '取消'
} // }
) // )
}, },
methods: { methods: {
getCode() { getCode() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!