fix: asset acl priority required

This commit is contained in:
feng626
2022-03-15 11:28:20 +08:00
committed by Jiangjie.Bai
parent 9703c335ff
commit ebbc5ceb3e

View File

@@ -4,6 +4,7 @@
<script>
import GenericCreateUpdatePage from '@/layout/components/GenericCreateUpdatePage'
import rules from '@/components/DataForm/rules'
export default {
name: 'AclCreateUpdate',
components: {
@@ -35,6 +36,9 @@ export default {
[this.$t('common.Other'), ['is_active', 'comment']]
],
fieldsMeta: {
priority: {
rules: [rules.Required]
},
assets: {
fields: ['hostname_group', 'ip_group']
},