diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue index 1294f48538b8af11cc1ba8989ab6ce08dff8da17..fcc3410080ad6112345c5fc2fbb95127dc26043f 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/versions.vue @@ -25,13 +25,10 @@ - - - - - @@ -64,7 +58,7 @@ + width="260">

{{$t('Confirm Switch To This Version?')}}

@@ -195,18 +189,14 @@ * Close the switch version layer */ _closeSwitchVersion (i) { - if (i > 0) { - this.$refs[`poptip-switch-version-${i}`][0].doClose() - } + this.$refs[`poptip-switch-version-${i}`][0].doClose() }, /** * Close the delete layer */ _closeDelete (i) { - if (i > 0) { - this.$refs[`poptip-delete-${i}`][0].doClose() - } + this.$refs[`poptip-delete-${i}`][0].doClose() }, /** diff --git a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js b/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js index b0f315a5390134a71a2b95b0661d77a719e0e1a7..e1ecedc9aebf39df6f3a8f37a6ef19fabe66b71a 100755 --- a/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js +++ b/dolphinscheduler-ui/src/js/module/i18n/locale/en_US.js @@ -641,5 +641,6 @@ export default { 'Batch copy': 'Batch copy', 'Related items': 'Related items', 'Project name is required': 'Project name is required', - 'Batch move': 'Batch move' + 'Batch move': 'Batch move', + Version: 'Version' } diff --git a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js b/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js index 53f0e3e483ac8973e9620417bdb3c4cd7acdc459..f69142d3b538e74a0d12a6b6e7eeea575037766d 100755 --- a/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js +++ b/dolphinscheduler-ui/src/js/module/i18n/locale/zh_CN.js @@ -641,5 +641,6 @@ export default { 'Batch copy': '批量复制', 'Related items': '关联项目', 'Project name is required': '项目名称必填', - 'Batch move': '批量移动' + 'Batch move': '批量移动', + Version: '版本' }
- # + + {{$t('Version')}} - Version - + {{$t('Description')}} @@ -42,9 +39,6 @@
- - - {{item.version}} {{$t('Current Version')}} @@ -52,7 +46,7 @@ - + {{item.description}} -