fix: set default value as empty array
This commit is contained in:
parent
0f0b012a44
commit
b95a17a4e0
@ -64,7 +64,10 @@ const emit = defineEmits(['change'])
|
||||
|
||||
const { getFields } = getMeta(props.doctype)
|
||||
|
||||
const values = defineModel()
|
||||
const values = defineModel({
|
||||
type: Array,
|
||||
default: () => [],
|
||||
})
|
||||
|
||||
const valuesRef = ref([])
|
||||
const error = ref(null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user