From 1c64693774e4d4d22d898d2aa22ec0548b8f9ea0 Mon Sep 17 00:00:00 2001 From: AN <1983933789@qq.com> Date: Sun, 25 May 2025 09:28:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8F=B0=E6=8A=A5=E9=94=99=EF=BC=9AMessage=20compilation=20err?= =?UTF-8?q?or=EF=BC=8Ci18n=E7=9A=84@=E4=B8=BA=E7=89=B9=E6=AE=8A=E7=AC=A6?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/langs/en-us.ts | 2 +- src/locales/langs/zh-cn.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/locales/langs/en-us.ts b/src/locales/langs/en-us.ts index 87df673f..f4f7a4c0 100644 --- a/src/locales/langs/en-us.ts +++ b/src/locales/langs/en-us.ts @@ -584,7 +584,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: diff --git a/src/locales/langs/zh-cn.ts b/src/locales/langs/zh-cn.ts index d7c78107..2b1f5412 100644 --- a/src/locales/langs/zh-cn.ts +++ b/src/locales/langs/zh-cn.ts @@ -583,7 +583,7 @@ const local: App.I18n.Schema = { isCacheTip: '选择是则会被`keep-alive`缓存,需要匹配组件的`name`和地址保持一致', visibleTip: '选择隐藏则路由将不会出现在侧边栏,但仍然可以访问', statusTip: '选择停用则路由将不会出现在侧边栏,也不能被访问', - permsTip: "控制器中定义的权限字符,如:`@SaCheckPermission('system:user:list')`", + permsTip: "控制器中定义的权限字符,如:`{'@'}SaCheckPermission('system:user:list')`", componentTip: '访问的组件路径,如:`system/user/index`,默认在`views`目录下', pathTip: 'Router path,Example:`user`,If the external network address needs to be accessed in the internal link,then `http(s)://` beginning',