Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
b5b228b1a0
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user