1、效果展示 2、Vue3 实现代码 <!-- * @Date: 2024-04-18 11:23:45 * @LastEditors: zhong * @LastEditTime: 2024-04-20 15:13:44 * @FilePath: \app-admin\src\components\UploadFile\UploadFiles.vue --> <template> <div class="file"> <el-upload class="upload-demo" drag action="http://127.0.0.1:9999/api/file/upload" accept=".jpg,.jpeg,.png,.gif,.mp4,.avi" :on-success="fileSuccess" multiple :on-preview="handlePictureCardPreview" :on-remove="handleRemove" v-model:file-list="filePathList" :before-upload="beforeUpload"...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with lastSlash
Contact lastSlash, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack