Commit d850613c by 周志凯

socket clear

1 parent c1b69746
......@@ -1158,7 +1158,7 @@
'rematchPerson': this.rematchPersonType
}
this.footerText = val === 'compare' ? '数据对比' : this.dateLevelList.find(item => item.label === val).name
this.socket && this.socket.close()
Object.keys(this.socket).length && this.socket.close()
this.results.length && (this.results = [])
this.query.type = typeof typeHandler[val] === 'undefined'
? null
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!