Merge pull request #1979 from jumpserver/pr@dev@actions

fix: 修复授权动作不展示
This commit is contained in:
feng626 2022-08-11 18:05:27 +08:00 committed by GitHub
commit 0e65b7f1be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ export default {
},
computed: {
choicesIDs() {
if (this.actions) {
if (this.actions.length !== 0) {
return this.actions
}
if (this.choices.length === 0) {

View File

@ -64,7 +64,7 @@ export default {
component: PermissionFormActionField,
helpText: this.$t('common.actionsTips'),
el: {
actions: []
actions: ['all', 'connect']
}
},
apply_applications: {