fix(index): 修复当router切换时不调用关闭流

duizhaopin_ui
duan 3 years ago
parent c0dd619944
commit 854a5faed7

@ -157,6 +157,7 @@ export default {
},
beforeDestroy() {
this.sockets.unsubscribe('reco')
this.handleClose()
},
methods: {
handleClose: function() {

@ -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() {

Loading…
Cancel
Save