fix(selectFile): 修复未初始化时fileList为undefined的问题
This commit is contained in:
parent
11aa8c5cc2
commit
1ce3e11d52
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
const model = defineModel({ type: Array })
|
const model = defineModel({ type: Array })
|
||||||
|
|
||||||
const fileList = ref(model.value)
|
const fileList = ref(model.value || [])
|
||||||
|
|
||||||
const emits = defineEmits(['on-success', 'on-error'])
|
const emits = defineEmits(['on-success', 'on-error'])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue