From 48b5fc6ae46a061346cf985ca0c0614f2e325bd3 Mon Sep 17 00:00:00 2001 From: zhuangchong <37063904+zhuangchong@users.noreply.github.com> Date: Sat, 26 Dec 2020 14:03:41 +0800 Subject: [PATCH 1/2] fix version close function does not take effect. (#4307) --- .../src/js/conf/home/pages/dag/_source/dag.vue | 6 +++++- .../projects/pages/definition/pages/list/_source/list.vue | 6 +++++- .../pages/definition/pages/list/_source/versions.vue | 4 +--- 3 files changed, 11 insertions(+), 5 deletions(-) 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"> - + Date: Sat, 26 Dec 2020 18:17:59 +0800 Subject: [PATCH 2/2] fix user management authorization operation exceptions do not prompt exception information. (#4292) --- .../conf/home/pages/security/pages/users/_source/list.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue index 36b798a890..0c211dca22 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue @@ -183,6 +183,8 @@ this.transferData.targetListPrs = targetListPrs this.transferData.type.name = `${i18n.$t('Project')}` this.authProjectDialog = true + }).catch(e => { + 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) {