diff --git a/src/views/jsxt/refereeList/index.vue b/src/views/jsxt/refereeList/index.vue index 6d65a8a2e..48c92a888 100644 --- a/src/views/jsxt/refereeList/index.vue +++ b/src/views/jsxt/refereeList/index.vue @@ -108,7 +108,8 @@ export default { { text: '导入试题', handler: this.handleAdd } ] }, - isLeaving:false + isLeaving:false, + inter:null }; }, computed: { @@ -162,7 +163,8 @@ export default { }, afterQuery(data) { - setTimeout(() => { + clearTimeout(this.inter); + this.inter = setTimeout(() => { if (!this.isLeaving) { this.refresh(); }