feat: 🚀 优化富文本多张图片上传

This commit is contained in:
2025-07-14 17:53:37 +08:00
parent 0ecb7691da
commit ebef3963f8
7 changed files with 8 additions and 9 deletions

View File

@@ -2,12 +2,12 @@
<el-upload
:id="uuid"
action="#"
:multiple="false"
:multiple="true"
:show-file-list="false"
:http-request="handleHttpUpload"
:before-upload="handleBeforeUpload"
class="editor-img-uploader"
accept=".jpeg,.jpg,.png"
accept=".jpeg,.jpg,.png,.gif"
>
<i ref="uploadRef" class="Plus editor-img-uploader"></i>
</el-upload>

View File

@@ -29,7 +29,6 @@ const handleCreated = (editor: any) => {
editorRef.value = editor;
};
console.log(editorRef.value, "=editorRef.value=");
const $router = useRouter();
const routerValueName: string = $router.currentRoute.value.name as string;
const routerObj: any = {