Tencent / tdesign-vue-starter

A starter-kit for TDesign Vue UI components.
https://tdesign.tencent.com/starter/vue/
MIT License
373 stars 92 forks source link

fix(layouts-header): 为配置了一级路由、没有设置 redirect 的导航栏项目添加选中效果 #295

Closed Summer-Shen closed 8 months ago

Summer-Shen commented 8 months ago

🤔 这个 PR 的性质是?

🔗 相关 Issue

https://github.com/Tencent/tdesign-vue-starter/issues/88

💡 需求背景和解决方案

对于配置了一级路由、没有设置 redirect 的导航栏项目,在 :value 中添加回退的 item.path。效果如下:

fix-header-single-item

📝 更新日志

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项。⚠️

github-actions[bot] commented 8 months ago

失败

uyarn commented 8 months ago

CI failed 不是这个PR带来的 另起一个PR修复