refactor: 优化组件,修复控制台报错:Message compilation error,i18n的@为特殊符号

This commit is contained in:
AN
2025-05-25 10:01:07 +08:00
parent 62b8327d07
commit 1cf855b073
3 changed files with 13 additions and 7 deletions

View File

@ -580,7 +580,7 @@ const local: App.I18n.Schema = {
'If you select yes, it will be cached by `keep-alive`, and the `name` and address of the matching component must be consistent',
visibleTip: 'If you choose Hide, the route will not appear in the sidebar, but it can still be accessed.',
statusTip: 'If you choose to disable, the route will not appear in the sidebar and cannot be accessed.',
permsTip: "Permission string defined in the controller, such as: @SaCheckPermission('system:user:list')",
permsTip: "Permission string defined in the controller, such as: {'@'}SaCheckPermission('system:user:list')",
componentTip:
'The component path to access, such as: `system/user/index`, which is in the `views` directory by default',
pathTip: