修复注册姓名校验失效问题,修复文件上传无法回调问题
This commit is contained in:
@@ -297,10 +297,21 @@ var Main = {
|
||||
handleClick(row) {
|
||||
console.log(row.colfileid);
|
||||
},
|
||||
uploadSuccess (response, file, fileList) {
|
||||
let that = this;
|
||||
if (file.status==="success"){
|
||||
that.openNotiSuccess("成功", file.name+"上传成功!");
|
||||
}else{
|
||||
that.openNotiError("失败", file.name+"上传失败!");
|
||||
}
|
||||
/* console.log('response', response);
|
||||
console.log('file',file,fileList);
|
||||
console.log('fileList',fileList);
|
||||
console.log("信息"+file.status+"|"+file.name)*/
|
||||
},
|
||||
submitUpload() {
|
||||
let that = this;
|
||||
this.$refs.upload.submit();
|
||||
this.openNotiSuccess("成功", "文件上传成功!");
|
||||
setTimeout(function () {
|
||||
that.getFileList();
|
||||
}, 1000);
|
||||
|
||||
Reference in New Issue
Block a user