+ 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 b0f315a539..e1ecedc9ae 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 53f0e3e483..f69142d3b5 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: '版本'
}