提交 1deb4eb7 编写于 作者: RedPig97's avatar RedPig97

Revert "文件上传多选"

This reverts commit f352a82c.
上级 f352a82c
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
:disabled="disabled" :disabled="disabled"
:file-list="files" :file-list="files"
:action="uploadUrl" :action="uploadUrl"
:multiple="multiple"
:headers="{}" :headers="{}"
:before-upload="beforeUpload" :before-upload="beforeUpload"
:before-remove="onRemove" :before-remove="onRemove"
...@@ -84,14 +83,6 @@ export default class AppFileUpload extends Vue { ...@@ -84,14 +83,6 @@ export default class AppFileUpload extends Vue {
*/ */
@Prop() public isdrag?: boolean; @Prop() public isdrag?: boolean;
/**
* 是否多选
*
* @type {boolean}
* @memberof AppFileUpload
*/
@Prop({default: true}) public multiple?: boolean;
/** /**
* 表单状态事件 * 表单状态事件
* *
......
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
:file-list = "files" :file-list = "files"
:before-upload = "beforeUpload" :before-upload = "beforeUpload"
:on-success = "onSuccess" :on-success = "onSuccess"
:multiple="multipleSelect"
:before-remove = "onRemove" :before-remove = "onRemove"
:on-error = "onError" :on-error = "onError"
:on-preview = "onDownload" :on-preview = "onDownload"
...@@ -99,14 +98,6 @@ export default class AppImageUpload extends Vue { ...@@ -99,14 +98,6 @@ export default class AppImageUpload extends Vue {
*/ */
@Prop() public data!: string; @Prop() public data!: string;
/**
* 是否多选
*
* @type {boolean}
* @memberof AppFileUpload
*/
@Prop({default: true}) public multipleSelect?: boolean;
/** /**
* 视图参数 * 视图参数
* *
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<el-upload <el-upload
ref="upload" ref="upload"
drag drag
:multiple="multiple" multiple
list-type="text" list-type="text"
:disabled="disabled" :disabled="disabled"
:action="getAction()" :action="getAction()"
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<el-col v-else class="withoutDrag"> <el-col v-else class="withoutDrag">
<el-upload <el-upload
ref="upload" ref="upload"
:multiple="multiple" multiple
list-type="text" list-type="text"
:disabled="disabled" :disabled="disabled"
:action="getAction()" :action="getAction()"
...@@ -120,14 +120,6 @@ ...@@ -120,14 +120,6 @@
*/ */
@Prop() public value!: string; @Prop() public value!: string;
/**
* 是否多选
*
* @type {boolean}
* @memberof AppFileUpload
*/
@Prop({default: true}) public multiple?: boolean;
/** /**
* 当前表单状态 * 当前表单状态
* *
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div id="image-upload"> <div id="image-upload">
<el-upload <el-upload
ref="imageUpload" ref="imageUpload"
:multiple="multiple" multiple
:file-list="imageList" :file-list="imageList"
list-type="picture-card" list-type="picture-card"
:action="getAction()" :action="getAction()"
...@@ -95,14 +95,6 @@ ...@@ -95,14 +95,6 @@
*/ */
@Prop() public value!: string; @Prop() public value!: string;
/**
* 是否多选
*
* @type {boolean}
* @memberof AppFileUpload
*/
@Prop({default: true}) public multiple?: boolean;
/** /**
* 当前表单状态 * 当前表单状态
* *
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册