diff --git a/src/views/login/index.vue b/src/views/login/index.vue index eea1d4c..e3bff00 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -157,6 +157,7 @@ export default { }, beforeDestroy() { this.sockets.unsubscribe('reco') + this.handleClose() }, methods: { handleClose: function() { diff --git a/src/views/user/index.vue b/src/views/user/index.vue index 74e7002..91533dc 100644 --- a/src/views/user/index.vue +++ b/src/views/user/index.vue @@ -278,7 +278,7 @@ import { update } from '@/api/user/user' import stringify from '@/utils/stringify' -import { throttle } from '@/utils' +// import { throttle } from '@/utils' export default { name: 'User', @@ -346,7 +346,8 @@ export default { }, beforeDestroy() { this.sockets.unsubscribe('add') - this.handleCancel() + // this.handleCancel() + this.handleFaceCancel() }, methods: { getModelList() {