场景语音训练调整
This commit is contained in:
parent
78c8b39edb
commit
0b78df8c9c
@ -58,12 +58,12 @@ export default {
|
||||
mounted() {
|
||||
this.closeEvent();
|
||||
},
|
||||
beforeDestroy() {
|
||||
window.removeEventListener('click', this.doClose, false);
|
||||
},
|
||||
methods: {
|
||||
closeEvent() {
|
||||
const self = this;
|
||||
window.onclick = function (e) {
|
||||
self.doClose();
|
||||
};
|
||||
window.addEventListener('click', this.doClose, false);
|
||||
},
|
||||
doShow() {
|
||||
this.closeEvent();
|
||||
|
Loading…
Reference in New Issue
Block a user