This commit is contained in:
Fanzink 2022-12-11 20:56:46 +08:00
rodzic f7938f30e2
commit a5a4f93328
3 zmienionych plików z 33 dodań i 6 usunięć

Wyświetl plik

@ -44,10 +44,12 @@ export const moduleRoutes = {
path: '/',
component: () => import('@/views/main'),
name: 'main',
redirect: { name: 'home' },
// redirect: { name: 'home' },
redirect: { name: 'sys-log-login' },
meta: { title: '主入口布局' },
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 } }
]
}

Wyświetl plik

@ -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 Vuex from 'vuex'
import cloneDeep from 'lodash/cloneDeep'
@ -23,11 +31,13 @@ export default new Vuex.Store({
contentTabs: [
{
...window.SITE_CONFIG['contentTabDefault'],
'name': 'home',
'name': 'sys-log-login',
// 'name': 'home',
'title': 'home'
}
],
contentTabsActiveName: 'home'
// contentTabsActiveName: 'home'
contentTabsActiveName: 'sys-log-login'
},
modules: {
user

Wyświetl plik

@ -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>
<el-card shadow="never" class="aui-card--fill">
<div class="mod-home">
<!-- <div class="mod-home">
<h3>项目介绍</h3>
<ul>
<li>
@ -21,10 +29,17 @@
<ul>
<li>扫码下面的二维码关注人人开源公众号回复加群即可根据提示加入微信群</li>
</ul>
</div>
</div> -->
</el-card>
</template>
<script>
export default {
created() {
this.$router.replace({ name: 'sys-log-login' })
},
}
</script>
<style>
.mod-home {
line-height: 1.5;