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

Revert "文件上传多选"

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