From 969e7716ab5f2ee4e49aa864a409db56ab2cf351 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Thu, 20 Jun 2024 10:57:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=84=E8=AE=BA=E7=BB=84=E4=BB=B6=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E6=B8=85=E7=A9=BA=E5=8F=AF=E5=8F=91=E5=B8=83&?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E5=B0=8F=E5=8D=A1=E7=89=87=E5=AF=B9=E9=BD=90=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/business/ms-associate-case/index.vue | 1 - frontend/src/components/business/ms-comment/input.vue | 7 ++++++- .../src/views/test-plan/testPlan/components/planTable.vue | 2 +- .../views/test-plan/testPlan/components/statusProgress.vue | 2 +- frontend/src/views/test-plan/testPlan/locale/en-US.ts | 2 +- frontend/src/views/test-plan/testPlan/locale/zh-CN.ts | 2 +- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/business/ms-associate-case/index.vue b/frontend/src/components/business/ms-associate-case/index.vue index 2d32f5d9ff..8893b1348d 100644 --- a/frontend/src/components/business/ms-associate-case/index.vue +++ b/frontend/src/components/business/ms-associate-case/index.vue @@ -41,7 +41,6 @@ :popup-visible="selectVisible" class="w-[240px]" :default-value="innerProject" - allow-search :placeholder="t('common.pleaseSelect')" @popup-visible-change="changeProjectHandler" > diff --git a/frontend/src/components/business/ms-comment/input.vue b/frontend/src/components/business/ms-comment/input.vue index c105d96c54..9cd3d23a1e 100644 --- a/frontend/src/components/business/ms-comment/input.vue +++ b/frontend/src/components/business/ms-comment/input.vue @@ -32,7 +32,7 @@ >
{{ t('common.cancel') }} - {{ t('common.publish') }} + {{ t('common.publish') }}
@@ -102,6 +102,11 @@ window.removeEventListener('keydown', handleGlobalKeyDown); }); + const isDisabled = computed(() => { + // 此处如果富文本输入内容后就算手动清空,还是会触发文本行内容为

+ return !currentContent.value || currentContent.value === '

'; + }); + defineExpose({ isActive, }); diff --git a/frontend/src/views/test-plan/testPlan/components/planTable.vue b/frontend/src/views/test-plan/testPlan/components/planTable.vue index 305d512abc..1b021e7c56 100644 --- a/frontend/src/views/test-plan/testPlan/components/planTable.vue +++ b/frontend/src/views/test-plan/testPlan/components/planTable.vue @@ -1580,7 +1580,7 @@ color: var(--color-text-4); } .popover-value-td { - @apply font-medium; + @apply text-right font-medium; padding-top: 8px; color: var(--color-text-1); diff --git a/frontend/src/views/test-plan/testPlan/components/statusProgress.vue b/frontend/src/views/test-plan/testPlan/components/statusProgress.vue index d3f13a657d..7a29410647 100644 --- a/frontend/src/views/test-plan/testPlan/components/statusProgress.vue +++ b/frontend/src/views/test-plan/testPlan/components/statusProgress.vue @@ -132,7 +132,7 @@ color: var(--color-text-4); } .popover-value-td { - @apply font-medium; + @apply text-right font-medium; padding-top: 8px; color: var(--color-text-1); diff --git a/frontend/src/views/test-plan/testPlan/locale/en-US.ts b/frontend/src/views/test-plan/testPlan/locale/en-US.ts index 6a6ef19c04..8bc46da1bb 100644 --- a/frontend/src/views/test-plan/testPlan/locale/en-US.ts +++ b/frontend/src/views/test-plan/testPlan/locale/en-US.ts @@ -66,7 +66,7 @@ export default { 'testPlan.testPlanIndex.TotalCases': 'Total use cases', 'testPlan.testPlanIndex.functionalUseCase': 'case', 'testPlan.testPlanIndex.apiCase': 'Api use case', - 'testPlan.testPlanIndex.apiScenarioCase': 'Api scenario use cases', + 'testPlan.testPlanIndex.apiScenarioCase': 'Scenario use cases', 'testPlan.testPlanIndex.scheduledTask': 'stop and delete scheduled tasks, ', 'testPlan.testPlanIndex.operateWithCaution': 'please operate with caution!', 'testPlan.testPlanIndex.deleteArchivedPlan': 'After the program has been archived, delete data unrecoverable,', diff --git a/frontend/src/views/test-plan/testPlan/locale/zh-CN.ts b/frontend/src/views/test-plan/testPlan/locale/zh-CN.ts index 491351d4b7..ef65d1577b 100644 --- a/frontend/src/views/test-plan/testPlan/locale/zh-CN.ts +++ b/frontend/src/views/test-plan/testPlan/locale/zh-CN.ts @@ -64,7 +64,7 @@ export default { 'testPlan.testPlanIndex.TotalCases': '用例总数', 'testPlan.testPlanIndex.functionalUseCase': '功能用例', 'testPlan.testPlanIndex.apiCase': '接口用例', - 'testPlan.testPlanIndex.apiScenarioCase': '接口场景用例', + 'testPlan.testPlanIndex.apiScenarioCase': '场景用例', 'testPlan.testPlanIndex.scheduledTask': '定时任务停止并删除,', 'testPlan.testPlanIndex.operateWithCaution': '请谨慎操作!', 'testPlan.testPlanIndex.deleteArchivedPlan': '计划 已归档,删除后数据不可恢复,',