Browse Source

fix user management authorization operation exceptions do not prompt exception information. (#4292)

pull/3/MERGE
zhuangchong 4 years ago committed by GitHub
parent
commit
d446e33ec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      dolphinscheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue

8
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) {

Loading…
Cancel
Save