mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 21:36:42 +08:00
图片改为可以拖拽上传
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
</el-form-item>
|
||||
<el-form-item class="imgInstructions" label="封面">
|
||||
<div class="el-form-item__content">
|
||||
<imageUpload :value="converImage" width="133px" height="100px" @success="handleUploadSuccess" @remove="handleRemoveSuccess"></imageUpload>
|
||||
<dl>
|
||||
<imageUpload :value="converImage" width="410px" height="168px" @success="handleUploadSuccess" @remove="handleRemoveSuccess"></imageUpload>
|
||||
<!-- <dl>
|
||||
<dt>上传封面说明</dt>
|
||||
<dd>上传为4:3(如:400*300)的png或jpg图片</dd>
|
||||
<dd>允许上传图片大小为:5MB</dd>
|
||||
</dl>
|
||||
</dl> -->
|
||||
</div>
|
||||
|
||||
</el-form-item>
|
||||
@@ -51,7 +51,7 @@
|
||||
import agreement from '@/components/Portal/agreement.vue'
|
||||
import { mapGetters } from 'vuex';
|
||||
import WxEditor from '@/components/Editor/index.vue';
|
||||
import imageUpload from '@/components/ImageUpload/index.vue';
|
||||
import imageUpload from '@/components/ImageUpload/artimgUpload.vue';
|
||||
import apiArticle from '@/api/modules/article.js';
|
||||
export default {
|
||||
name: 'atticleAdd',
|
||||
|
||||
Reference in New Issue
Block a user