Merge branch 'dev' of https://gitee.com/red-future---jilin-g/admin-ui into dev
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
content="vue-next-admin,基于 vue3 + CompositionAPI + typescript + vite + element plus,适配手机、平板、pc 的后台开源免费管理系统模板!vue-prev-admin,基于 vue2 + element ui,适配手机、平板、pc 的后台开源免费管理系统模板!"
|
content="vue-next-admin,基于 vue3 + CompositionAPI + typescript + vite + element plus,适配手机、平板、pc 的后台开源免费管理系统模板!vue-prev-admin,基于 vue2 + element ui,适配手机、平板、pc 的后台开源免费管理系统模板!"
|
||||||
/>
|
/>
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
<title>gfast3.2后台管理系统</title>
|
<title>红动未来业务中台</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { useUserInfo } from '/@/stores/userInfo';
|
|||||||
import { useRequestOldRoutes } from '/@/stores/requestOldRoutes';
|
import { useRequestOldRoutes } from '/@/stores/requestOldRoutes';
|
||||||
import { Session } from '/@/utils/storage';
|
import { Session } from '/@/utils/storage';
|
||||||
import { NextLoading } from '/@/utils/loading';
|
import { NextLoading } from '/@/utils/loading';
|
||||||
import { demoRoutes,dynamicRoutes, notFoundAndNoPower } from '/@/router/route';
|
import { dynamicRoutes, notFoundAndNoPower } from '/@/router/route';
|
||||||
import { formatTwoStageRoutes, formatFlatteningRoutes, router } from '/@/router/index';
|
import { formatTwoStageRoutes, formatFlatteningRoutes, router } from '/@/router/index';
|
||||||
import { useRoutesList } from '/@/stores/routesList';
|
import { useRoutesList } from '/@/stores/routesList';
|
||||||
import { useTagsViewRoutes } from '/@/stores/tagsViewRoutes';
|
import { useTagsViewRoutes } from '/@/stores/tagsViewRoutes';
|
||||||
@@ -47,7 +47,7 @@ export async function initBackEndControlRoutes() {
|
|||||||
// 存储接口原始路由(未处理component),根据需求选择使用
|
// 存储接口原始路由(未处理component),根据需求选择使用
|
||||||
useRequestOldRoutes().setRequestOldRoutes(JSON.parse(JSON.stringify(menuRoute)));
|
useRequestOldRoutes().setRequestOldRoutes(JSON.parse(JSON.stringify(menuRoute)));
|
||||||
// 处理路由(component),替换 dynamicRoutes(/@/router/route)第一个顶级 children 的路由
|
// 处理路由(component),替换 dynamicRoutes(/@/router/route)第一个顶级 children 的路由
|
||||||
dynamicRoutes[0].children?.push(...await backEndComponent(menuRoute),...demoRoutes);
|
dynamicRoutes[0].children?.push(...await backEndComponent(menuRoute));
|
||||||
// 添加动态路由
|
// 添加动态路由
|
||||||
await setAddRoute();
|
await setAddRoute();
|
||||||
// 设置路由到 vuex routesList 中(已处理成多级嵌套路由)及缓存多级嵌套数组处理后的一维数组
|
// 设置路由到 vuex routesList 中(已处理成多级嵌套路由)及缓存多级嵌套数组处理后的一维数组
|
||||||
|
|||||||
@@ -129,9 +129,9 @@ export const useThemeConfig = defineStore('themeConfig', {
|
|||||||
* 全局网站标题 / 副标题
|
* 全局网站标题 / 副标题
|
||||||
*/
|
*/
|
||||||
// 网站主标题(菜单导航、浏览器当前网页标题)
|
// 网站主标题(菜单导航、浏览器当前网页标题)
|
||||||
globalTitle: 'gfast3.2后台管理系统',
|
globalTitle: '红动未来业务中台',
|
||||||
// 网站副标题(登录页顶部文字)
|
// 网站副标题(登录页顶部文字)
|
||||||
globalViceTitle: 'gfast3.2后台管理系统',
|
globalViceTitle: '红动未来业务中台',
|
||||||
// 默认初始语言,可选值"<zh-cn|en|zh-tw>",默认 zh-cn
|
// 默认初始语言,可选值"<zh-cn|en|zh-tw>",默认 zh-cn
|
||||||
globalI18n: 'zh-cn',
|
globalI18n: 'zh-cn',
|
||||||
// 默认全局组件大小,可选值"<large|'default'|small>",默认 'large'
|
// 默认全局组件大小,可选值"<large|'default'|small>",默认 'large'
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ export default defineComponent({
|
|||||||
router.push({
|
router.push({
|
||||||
name: 'paramsDynamicDetails',
|
name: 'paramsDynamicDetails',
|
||||||
params: {
|
params: {
|
||||||
t: 'gfast3.2后台管理系统',
|
t: '红动未来业务中台',
|
||||||
id: state.value,
|
id: state.value,
|
||||||
tagsViewName: state.tagsViewName,
|
tagsViewName: state.tagsViewName,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user