perf: Cloud account error handling

This commit is contained in:
feng
2024-07-01 17:40:47 +08:00
parent 455496adcf
commit fb86ac4060
2 changed files with 3 additions and 3 deletions

View File

@@ -304,7 +304,7 @@ export default {
hidden: true,
meta: {
title: i18n.t('AppletDetail'),
permissions: ['settings.change_terminal'],
permissions: ['terminal.view_applet'],
activeMenu: '/settings/applets'
}
},

View File

@@ -117,8 +117,8 @@ export default {
this.allRegions = resp?.regions
this.regionVisible = true
this.updateCheckedStatus()
}).catch(error => {
this.$message.error(this.$tc('CloudRegionTip' + ' ' + error))
}).catch(() => {
this.$message.error(this.$tc('CloudRegionTip'))
}).finally(() => {
this.refreshContent()
})