From a0156afd4af97fbe797b13df10dc90a723345e86 Mon Sep 17 00:00:00 2001 From: Yuikill <105910874+Yuikill@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:40:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E8=BF=9B=E5=85=A5?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=9C=8D=E5=8A=A1=E7=89=88=E6=9C=AC=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=8A=A0=E8=BD=BD=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=88=97=E8=A1=A8=E5=A4=AA=E6=85=A2--bug=3D117445765?= =?UTF-8?q?=20(#2921)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 优化进入配置服务版本管理页面,加载版本列表太慢--bug=117445765 * fix: 修复类型原因导致编译失败 --- .../version-simple-list.vue | 183 +++++++++++------- 1 file changed, 110 insertions(+), 73 deletions(-) diff --git a/bcs-services/bcs-bscp/ui/src/views/space/service/detail/config/version-list-aside/version-simple-list.vue b/bcs-services/bcs-bscp/ui/src/views/space/service/detail/config/version-list-aside/version-simple-list.vue index d0a91ea3fc..f1267614e3 100644 --- a/bcs-services/bcs-bscp/ui/src/views/space/service/detail/config/version-list-aside/version-simple-list.vue +++ b/bcs-services/bcs-bscp/ui/src/views/space/service/detail/config/version-list-aside/version-simple-list.vue @@ -5,14 +5,14 @@
- +
-
+
{{ t('未命名版本') }}
@@ -22,32 +22,15 @@ v-for="version in versionsInView" :key="version.id" :class="['version-item', { active: versionData.id === version.id }]" - @click="handleSelectVersion(version)"> + @click="handleSelectVersion(version)" + >
{{ version.spec.name }}
- - - - +
@@ -58,7 +41,22 @@ :title="t('确认废弃该版本')" :tips="t('此操作不会删除版本,如需找回或彻底删除请去版本详情的废弃版本列表操作')" :confirm-fn="handleDeprecateVersion" - :version="currentOperatingVersion" /> + :version="currentOperatingVersion" + /> +
+
{{ t('版本对比') }}
+
+ {{ t('版本废弃') }} +
+
-