mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
perf: Cloud account error handling
This commit is contained in:
@@ -304,7 +304,7 @@ export default {
|
||||
hidden: true,
|
||||
meta: {
|
||||
title: i18n.t('AppletDetail'),
|
||||
permissions: ['settings.change_terminal'],
|
||||
permissions: ['terminal.view_applet'],
|
||||
activeMenu: '/settings/applets'
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user