From c3bb902e67361909f5763b4f895424e2d9739eb4 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Mon, 3 Apr 2023 16:27:42 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=B7=BB=E5=8A=A0asset=20helptext?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/en.json | 1 + src/i18n/langs/ja.json | 1 + src/i18n/langs/zh.json | 1 + src/views/assets/const.js | 3 +++ 4 files changed, 6 insertions(+) diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index aa782e5ca..9a15c229f 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -204,6 +204,7 @@ "NoSQLProtocol": "NoSQL Protocol" }, "assets": { + "CommentHelpText": "Note: Note information will be hovered and displayed in the user authorization asset tree of Luna page, which can be viewed by ordinary users. Please do not fill in sensitive information.", "BulkUpdatePlatformHelpText": "Modify only assets of the same type", "ImportMessage": "Please go to the page of mapping type to import data", "PushAccount": "Push account", diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json index d7075c2e4..e3e3a5a08 100644 --- a/src/i18n/langs/ja.json +++ b/src/i18n/langs/ja.json @@ -204,6 +204,7 @@ "NoSQLProtocol": "非リレーショナルデータベース" }, "assets": { + "CommentHelpText": "注意:コメント情報はLunaページのユーザー認可資産ツリーに表示されます。一般ユーザーは表示できますので、機密情報を記入しないでください。", "BulkUpdatePlatformHelpText": "同じタイプの資産のみ変更", "ImportMessage": "ミラータイプのページにデータをインポートしてください", "PushAccount": "アカウント情報をプッシュ", diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index 072c40da2..b644296fa 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -205,6 +205,7 @@ "NoSQLProtocol": "非关系数据库" }, "assets": { + "CommentHelpText": "注意:备注信息会在 Luna 页面的用户授权资产树中进行悬停显示,普通用户可以查看,请不要填写敏感信息。", "BulkUpdatePlatformHelpText": "只修改相同类型的资产", "ImportMessage": "请前往对应类型的页面导入数据", "PushAccount": "推送账号", diff --git a/src/views/assets/const.js b/src/views/assets/const.js index 2935a8ec5..33e07308c 100644 --- a/src/views/assets/const.js +++ b/src/views/assets/const.js @@ -132,6 +132,9 @@ export const assetFieldsMeta = (vm) => { }, url: { label: 'url' + }, + comment: { + helpText: i18n.t('assets.CommentHelpText') } } }