Closed Summer-Shen closed 8 months ago
https://github.com/Tencent/tdesign-vue-starter/issues/88
对于配置了一级路由、没有设置 redirect 的导航栏项目,在 :value 中添加回退的 item.path。效果如下:
:value
item.path
fix(layouts-header): 为配置了一级路由、没有设置 redirect 的导航栏项目添加选中效果
[ ] 本条 PR 不需要纳入 Changelog
⚠️ 请自检并全部勾选全部选项。⚠️
CI failed 不是这个PR带来的 另起一个PR修复
🤔 这个 PR 的性质是?
🔗 相关 Issue
https://github.com/Tencent/tdesign-vue-starter/issues/88
💡 需求背景和解决方案
对于配置了一级路由、没有设置 redirect 的导航栏项目,在
:value
中添加回退的item.path
。效果如下:📝 更新日志
fix(layouts-header): 为配置了一级路由、没有设置 redirect 的导航栏项目添加选中效果
[ ] 本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单
⚠️ 请自检并全部勾选全部选项。⚠️