diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue index 109f03cff4..8e021e4e1e 100755 --- a/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/dag.vue @@ -150,7 +150,7 @@ :visible.sync="drawer" size="35%" :with-header="false"> - + { this.$message.error(e.msg || '') }) + }, + + closeVersion () { + this.drawer = false } }, watch: { diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue index 0a6c75cbfc..ac06748450 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue @@ -126,7 +126,7 @@ :visible.sync="drawer" size="35%" :with-header="false"> - + { + this.$message.error(e.msg || '') }) }, onUpdateAuthProject (projectIds) { @@ -260,6 +262,8 @@ this.resourceData.udfTargetList = udfTargetList this.resourceData.type.name = `${i18n.$t('Resources')}` this.resourceDialog = true + }).catch(e => { + this.$message.error(e.msg || '') }) }, @@ -298,6 +302,8 @@ this.transferData.targetListPrs = targetListPrs this.transferData.type.name = `${i18n.$t('Datasource')}` this.authDataSourceDialog = true + }).catch(e => { + this.$message.error(e.msg || '') }) }, onUpdateAuthDataSource (datasourceIds) { @@ -334,6 +340,8 @@ this.transferData.targetListPrs = targetListPrs this.transferData.type.name = `${i18n.$t('UDF Function')}` this.authUdfFuncDialog = true + }).catch(e => { + this.$message.error(e.msg || '') }) }, onUpdateAuthUdfFunc (udfIds) {