Commit 63e6d7f1 by xinla

运营中心路由等

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