|
@@ -260,11 +260,11 @@ export default {
|
|
|
const obj = { ...data, model };
|
|
|
const msg = this.$message({ duration: 0, message: '正在导出,请稍后...' });
|
|
|
const res = await this.toExport(obj);
|
|
|
- // msg.close();
|
|
|
- // if (this.$checkRes(res)) {
|
|
|
- // const { data } = res;
|
|
|
- // window.open(data);
|
|
|
- // }
|
|
|
+ msg.close();
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ const { data } = res;
|
|
|
+ window.open(data);
|
|
|
+ }
|
|
|
},
|
|
|
getTerm(termid) {
|
|
|
console.log(termid);
|