const ossRefs = ref() | const ossRefs = ref() | ||||
function handleConfirm() { | function handleConfirm() { | ||||
if (props.type !== 'preview') { | if (props.type !== 'preview') { | ||||
debugger | |||||
formRef.value?.validate((errors) => { | formRef.value?.validate((errors) => { | ||||
if (!errors) { | if (!errors) { | ||||
const uploads = ossRefs.value.map((item, index) => { | const uploads = ossRefs.value.map((item, index) => { |