lct
Your Name
2022-07-14 70979924031f42c76535a3a2f669b8d48932f5c5
lct
已重命名1个文件
已修改4个文件
已添加1个文件
19 ■■■■ 文件已修改
src/router/index.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/goalManagement/index.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/goalManagement/targetDecompositionMonth/index.vue 补丁 | 查看 | 原始文档 | blame | 历史
src/views/goalManagement/targetDecompositionYear/index.vue 补丁 | 查看 | 原始文档 | blame | 历史
src/views/goalManagement/targetSettings/index.vue 补丁 | 查看 | 原始文档 | blame | 历史
src/views/homeMenu/homeMenu.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.ts
@@ -65,7 +65,7 @@
}
// isRequestRoutes 为 true,则开启后端控制路由,路径:`/src/stores/themeConfig.ts`
if (!isRequestRoutes) initFrontEndControlRoutes();
// if (!isRequestRoutes) initFrontEndControlRoutes();
// 路由加载前
router.beforeEach(async (to, from, next) => {
@@ -81,7 +81,7 @@
            Session.clear();
            NProgress.done();
        } else if (token && to.path === '/login') {
            next('/home');
            next('/homeMenu');
            NProgress.done();
        } else {
            const storesRoutesList = useRoutesList(pinia);
src/views/goalManagement/index.vue
对比新文件
@@ -0,0 +1,14 @@
<template>
    <router-view></router-view>
</template>
<script>
export default {
    name: "index"
}
</script>
<style scoped>
</style>
src/views/goalManagement/targetDecompositionMonth/index.vue
src/views/goalManagement/targetDecompositionYear/index.vue
src/views/goalManagement/targetSettings/index.vue
src/views/homeMenu/homeMenu.vue
@@ -109,7 +109,6 @@
                });
            };
            const linkToFirstMenu: any = (value: any) => {
                debugger
                let returnMenu = value;
                if (returnMenu.children?.length > 0) {
                    return linkToFirstMenu(returnMenu.children[0]);