当前位置:网站首页>After route link navigation, the sub page does not display the navigation style problem
After route link navigation, the sub page does not display the navigation style problem
2022-04-23 20:16:00 【_ Carpediem】
One 、 problem
When using , Click to enter navigation 1 The following sub pages , Navigation... Is not displayed 1 The current active style ( That is, the blue underline in the green box in the figure )

Two 、 Source solution
modify router.ts Routing configuration information in the file
Mainly in navigation 1 Join in redirect
const router = createRouter({
history: routerHistory,
routes: [
{
path: "/ Navigation 1",
component: '',
redirect: " Navigation 1",
children: [
{
path: " Navigation 1/ The following sub pages ",
component:'',
},
],
},
],
});
版权声明
本文为[_ Carpediem]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210553546440.html
边栏推荐
- [numerical prediction case] (3) LSTM time series electricity quantity prediction, with tensorflow complete code attached
- 中金财富公司怎么样,开户安全吗
- 网络通信基础(局域网、广域网、IP地址、端口号、协议、封装、分用)
- Confusion about thread blocking after calling the read () method of wrapper flow
- R language ggplot2 visualization: ggplot2 visualizes the scatter diagram and uses geom_ mark_ The ellipse function adds ellipses around data points of data clusters or data groups for annotation
- C6748 software simulation and hardware test - with detailed FFT hardware measurement time
- DNS cloud school | quickly locate DNS resolution exceptions and keep these four DNS status codes in mind
- Electron入门教程3 ——进程通信
- Unity 模型整体更改材质
- Record: call mapper to report null pointer Foreach > the usage of not removing repetition;
猜你喜欢

How to protect ECs from hacker attacks?

CVPR 2022 | querydet: use cascaded sparse query to accelerate small target detection under high resolution

Shanda Wangan shooting range experimental platform project - personal record (IV)

antd dropdown + modal + textarea导致的textarea光标不可被键盘控制问题

Leetcode dynamic planning training camp (1-5 days)

Software College of Shandong University Project Training - Innovation Training - network security shooting range experimental platform (8)

The textarea cursor cannot be controlled by the keyboard due to antd dropdown + modal + textarea

SQL Server Connectors By Thread Pool | DTSQLServerTP 插件使用说明

MySQL 进阶 锁 -- MySQL锁概述、MySQL锁的分类:全局锁(数据备份)、表级锁(表共享读锁、表独占写锁、元数据锁、意向锁)、行级锁(行锁、间隙锁、临键锁)

Unity general steps for creating a hyper realistic 3D scene
随机推荐
Record: call mapper to report null pointer Foreach > the usage of not removing repetition;
How about CICC fortune? Is it safe to open an account
AQS learning
DNS cloud school | quickly locate DNS resolution exceptions and keep these four DNS status codes in mind
Openharmony open source developer growth plan, looking for new open source forces that change the world!
Leetcode XOR operation
redis 分布式锁
中金财富公司怎么样,开户安全吗
Error reported by Azkaban: Azkaban jobExecutor. utils. process. ProcessFailureException: Process exited with code 64
Mysql database and table building: the difference between utf8 and utf8mb4
Remote code execution in Win 11 using wpad / PAC and JScript 3
波场DAO新物种下场,USDD如何破局稳定币市场?
Software College of Shandong University Project Training - Innovation Training - network security shooting range experimental platform (8)
[numerical prediction case] (3) LSTM time series electricity quantity prediction, with tensorflow complete code attached
aqs的学习
CVPR 2022 | querydet: use cascaded sparse query to accelerate small target detection under high resolution
nc基础用法4
山东大学软件学院项目实训-创新实训-网络安全靶场实验平台(七)
DTMF dual tone multi frequency signal simulation demonstration system
R语言使用timeROC包计算存在竞争风险情况下的生存资料多时间AUC值、使用cox模型、并添加协变量、R语言使用timeROC包的plotAUCcurve函数可视化多时间生存资料的AUC曲线