From 854a5faed79923c4a534d506b9137292866be119 Mon Sep 17 00:00:00 2001 From: duan Date: Wed, 7 Sep 2022 18:12:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(index):=20=E4=BF=AE=E5=A4=8D=E5=BD=93router?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=97=B6=E4=B8=8D=E8=B0=83=E7=94=A8=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 1 + src/views/user/index.vue | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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() {