From 610104eb25518499ef25f09a5c473a69ba53fa7e Mon Sep 17 00:00:00 2001 From: baiqi Date: Wed, 10 Jul 2024 18:09:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=89=B9=E9=87=8F=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=BC=B9=E7=AA=97):=20=E8=BF=BD=E5=8A=A0=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/pure/ms-tags-input/locale/en-US.ts | 1 + frontend/src/components/pure/ms-tags-input/locale/zh-CN.ts | 1 + .../api-test/management/components/management/api/apiTable.vue | 1 + .../api-test/management/components/management/case/caseTable.vue | 1 + .../api-test/management/components/management/mock/mockTable.vue | 1 + .../src/views/api-test/scenario/components/scenarioTable.vue | 1 + .../caseManagementFeature/components/batchEditModal.vue | 1 + .../src/views/test-plan/testPlan/components/batchEditModal.vue | 1 + 8 files changed, 8 insertions(+) diff --git a/frontend/src/components/pure/ms-tags-input/locale/en-US.ts b/frontend/src/components/pure/ms-tags-input/locale/en-US.ts index f52bf8e772..975dc70b64 100644 --- a/frontend/src/components/pure/ms-tags-input/locale/en-US.ts +++ b/frontend/src/components/pure/ms-tags-input/locale/en-US.ts @@ -1,4 +1,5 @@ export default { 'ms.tagsInput.tagsDuplicateText': 'Same label already exists', 'ms.tagsInput.tagsInputPlaceholder': 'Add tag and press Enter to end', + 'ms.tagsInput.tagLimitTip': 'There is a limit of 10 tags, excess tags will not be added', }; diff --git a/frontend/src/components/pure/ms-tags-input/locale/zh-CN.ts b/frontend/src/components/pure/ms-tags-input/locale/zh-CN.ts index 748b190590..defa9a5717 100644 --- a/frontend/src/components/pure/ms-tags-input/locale/zh-CN.ts +++ b/frontend/src/components/pure/ms-tags-input/locale/zh-CN.ts @@ -1,4 +1,5 @@ export default { 'ms.tagsInput.tagsDuplicateText': '已存在相同的标签', 'ms.tagsInput.tagsInputPlaceholder': '添加标签,回车结束', + 'ms.tagsInput.tagLimitTip': '标签限制10个,超出的标签不会被添加', }; diff --git a/frontend/src/views/api-test/management/components/management/api/apiTable.vue b/frontend/src/views/api-test/management/components/management/api/apiTable.vue index 3101d60be7..2c97a790fc 100644 --- a/frontend/src/views/api-test/management/components/management/api/apiTable.vue +++ b/frontend/src/views/api-test/management/components/management/api/apiTable.vue @@ -158,6 +158,7 @@ unique-value retain-input-value /> +
{{ t('ms.tagsInput.tagLimitTip') }}
+
{{ t('ms.tagsInput.tagLimitTip') }}
+
{{ t('ms.tagsInput.tagLimitTip') }}
+
{{ t('ms.tagsInput.tagLimitTip') }}
+
{{ t('ms.tagsInput.tagLimitTip') }}
+
{{ t('ms.tagsInput.tagLimitTip') }}