|
|
@@ -150,7 +150,6 @@
|
|
|
this.form =row;
|
|
|
},
|
|
|
beforeUpload(file){
|
|
|
- alert(22)
|
|
|
if(file==null){
|
|
|
this.$modal.msgSuccess(this.$t('zxcg'));
|
|
|
}
|
|
|
@@ -164,7 +163,7 @@ if(file==null){
|
|
|
this.upload.open = false;
|
|
|
this.upload.isUploading = false;
|
|
|
this.$refs.upload.clearFiles();
|
|
|
- this.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + "</div>", "导入结果", { dangerouslyUseHTMLString: true });
|
|
|
+ this.$modal.alert( response.msg);
|
|
|
this.handleQuery();
|
|
|
},
|
|
|
// 提交上传文件
|