forked from mt-fe-group/mt-yd-ui
'update'
This commit is contained in:
parent
f7938f30e2
commit
a5a4f93328
@ -44,10 +44,12 @@ export const moduleRoutes = {
|
|||||||
path: '/',
|
path: '/',
|
||||||
component: () => import('@/views/main'),
|
component: () => import('@/views/main'),
|
||||||
name: 'main',
|
name: 'main',
|
||||||
redirect: { name: 'home' },
|
// redirect: { name: 'home' },
|
||||||
|
redirect: { name: 'sys-log-login' },
|
||||||
meta: { title: '主入口布局' },
|
meta: { title: '主入口布局' },
|
||||||
children: [
|
children: [
|
||||||
{ path: '/home', component: () => import('@/views/modules/home'), name: 'home', meta: { title: '首页', isTab: true } }
|
{ path: '/sys-log-login', component: () => import('@/views/modules/sys/log-login'), name: 'sys-log-login', meta: { title: '首页', isTab: true } }
|
||||||
|
// { path: '/home', component: () => import('@/views/modules/home'), name: 'home', meta: { title: '首页', isTab: true } }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* @Descripttion:
|
||||||
|
* @version:
|
||||||
|
* @Author: fzq
|
||||||
|
* @Date: 2022-12-11 20:33:35
|
||||||
|
* @LastEditors: fzq
|
||||||
|
* @LastEditTime: 2022-12-11 20:43:32
|
||||||
|
*/
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import Vuex from 'vuex'
|
import Vuex from 'vuex'
|
||||||
import cloneDeep from 'lodash/cloneDeep'
|
import cloneDeep from 'lodash/cloneDeep'
|
||||||
@ -23,11 +31,13 @@ export default new Vuex.Store({
|
|||||||
contentTabs: [
|
contentTabs: [
|
||||||
{
|
{
|
||||||
...window.SITE_CONFIG['contentTabDefault'],
|
...window.SITE_CONFIG['contentTabDefault'],
|
||||||
'name': 'home',
|
'name': 'sys-log-login',
|
||||||
|
// 'name': 'home',
|
||||||
'title': 'home'
|
'title': 'home'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
contentTabsActiveName: 'home'
|
// contentTabsActiveName: 'home'
|
||||||
|
contentTabsActiveName: 'sys-log-login'
|
||||||
},
|
},
|
||||||
modules: {
|
modules: {
|
||||||
user
|
user
|
||||||
|
@ -1,6 +1,14 @@
|
|||||||
|
<!--
|
||||||
|
* @Descripttion:
|
||||||
|
* @version:
|
||||||
|
* @Author: fzq
|
||||||
|
* @Date: 2022-12-09 15:44:37
|
||||||
|
* @LastEditors: fzq
|
||||||
|
* @LastEditTime: 2022-12-11 20:47:56
|
||||||
|
-->
|
||||||
<template>
|
<template>
|
||||||
<el-card shadow="never" class="aui-card--fill">
|
<el-card shadow="never" class="aui-card--fill">
|
||||||
<div class="mod-home">
|
<!-- <div class="mod-home">
|
||||||
<h3>项目介绍</h3>
|
<h3>项目介绍</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
@ -21,10 +29,17 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>扫码下面的二维码,关注【人人开源】公众号,回复【加群】,即可根据提示加入微信群!</li>
|
<li>扫码下面的二维码,关注【人人开源】公众号,回复【加群】,即可根据提示加入微信群!</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div> -->
|
||||||
</el-card>
|
</el-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
created() {
|
||||||
|
this.$router.replace({ name: 'sys-log-login' })
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<style>
|
<style>
|
||||||
.mod-home {
|
.mod-home {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
|
Loading…
Reference in New Issue
Block a user