提交 d644d463 编写于 作者: laizhilong's avatar laizhilong

未使用的变量

上级 68ec64d7
......@@ -156,10 +156,6 @@
uploadTip: `单个文件大小不超过${this.size}M,文件不超过${this.limit}个`,
// 文件列表
uploadFileList: [],
// 临时文件列表
tempFileList: [],
// 移除的文件列表
removeFileList: [],
// headers
myHeaders: {Authorization: token},
// 表单状态事件
......@@ -411,9 +407,7 @@
Message.error("删除文件失败!");
}
// 从文件列表中删除
const removeArray = this.uploadFileList.splice(index, 1);
// 将删除的文件合并到删除列表
this.removeFileList.push.apply(this.removeFileList, removeArray);
this.uploadFileList.splice(index, 1);
// persistence=true时需要持久化表单属性
if (this.persistence == true) {
const value = JSON.stringify(this.uploadFileList);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册