Closed RJQingHuan closed 8 months ago
The update to the codebase simplifies the handling of page metadata within the PageContext
class. By introducing a ternary expression, the logic determining how page metadata is processed in relation to the withUniPlatform
flag has been made more concise, optimizing the way pages are filtered and their details are prepared.
File Path | Change Summary |
---|---|
.../core/src/context.ts |
Simplified withUniPlatform conditional logic in PageContext using a ternary expression for handling pageMetaData . |
🐇 "In the burrows of the code, where logic trees grow wild,
A leap, a hop, a simplified stop, makes the metadata mild.
With a ternary twist and a clever list, the pages are now styled,
CodeRabbit's wit, in the git commit, has once again beguiled." 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
点错了 QAQ
thanks!
…en .nvue files had the same name as .vue files.
Description 描述
修复相同目录下存在相同文件名的
.vue
.nvue
文件时生成重复路由的问题Linked Issues 关联的 Issues
127
Additional context 额外上下文
Summary by CodeRabbit