|
|
@@ -91,7 +91,7 @@ export default defineComponent({ |
|
|
|
}) |
|
|
|
|
|
|
|
function handleUploadStatus(status, list) { |
|
|
|
console.log('status', status, list) |
|
|
|
// console.log('status', status, list) |
|
|
|
data.form.cover = status |
|
|
|
data.form.list = list |
|
|
|
} |
|
|
@@ -99,12 +99,6 @@ export default defineComponent({ |
|
|
|
const formRef = ref() |
|
|
|
const ossRefs = ref() |
|
|
|
function handleConfirm() { |
|
|
|
// if (data.form.cover === 'upload') { |
|
|
|
// $message.error('未上传或正在上传') |
|
|
|
// handleClose() |
|
|
|
// return |
|
|
|
// } |
|
|
|
// if (data.form.cover === 'success') { |
|
|
|
formRef.value.validate().then(() => { |
|
|
|
if (data.form.cover === 'success') { |
|
|
|
const params = { |