mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-26 06:58:53 +00:00
fix: asset acl priority required
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import GenericCreateUpdatePage from '@/layout/components/GenericCreateUpdatePage'
|
import GenericCreateUpdatePage from '@/layout/components/GenericCreateUpdatePage'
|
||||||
|
import rules from '@/components/DataForm/rules'
|
||||||
export default {
|
export default {
|
||||||
name: 'AclCreateUpdate',
|
name: 'AclCreateUpdate',
|
||||||
components: {
|
components: {
|
||||||
@@ -35,6 +36,9 @@ export default {
|
|||||||
[this.$t('common.Other'), ['is_active', 'comment']]
|
[this.$t('common.Other'), ['is_active', 'comment']]
|
||||||
],
|
],
|
||||||
fieldsMeta: {
|
fieldsMeta: {
|
||||||
|
priority: {
|
||||||
|
rules: [rules.Required]
|
||||||
|
},
|
||||||
assets: {
|
assets: {
|
||||||
fields: ['hostname_group', 'ip_group']
|
fields: ['hostname_group', 'ip_group']
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user