#
luxiaotao1123
2024-02-28 f93a5719f77508aae2eb45eaa7e68bd447d607e2
zy-asrs-flow/src/services/route.js
@@ -98,16 +98,23 @@
}
function addUserSettingMenu(remoteMenu) {
    const settingRoute = {
        name: "个人设置",
        path: "/account/setting",
        component: "/account/setting"
    }
    // const settingRoute = {
    //     name: "个人设置",
    //     path: "/account/setting",
    //     component: "/account/setting"
    // }
    // remoteMenu.push({
    //     name: "个人中心",
    //     path: "/account",
    //     component: null,
    //     routes: [settingRoute],
    //     icon: createIcon('UserOutlined')
    // })
    remoteMenu.push({
        name: "个人中心",
        path: "/account",
        component: null,
        routes: [settingRoute],
        path: "/account/setting",
        component: "/account/setting",
        icon: createIcon('UserOutlined')
    })
}