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

This commit is contained in:
zhuangchong 2020-12-26 18:17:59 +08:00 committed by GitHub
parent 48b5fc6ae4
commit d446e33ec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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