fix(index): 不调用 关闭流

duizhaopin_ui
duan 2 years ago
parent 5dc4fed3d7
commit c0dd619944

@ -106,7 +106,7 @@
import stringify from '@/utils/stringify'
import { faceStart, faceStop, login } from '@/api/user/user'
import { client_list } from '@/api/common'
import { throttle } from '@/utils'
// import { throttle } from '@/utils'
export default {
name: 'Login',
@ -159,7 +159,7 @@ export default {
this.sockets.unsubscribe('reco')
},
methods: {
handleClose: throttle(function() {
handleClose: function() {
faceStop().then(
res => {
// console.log(res)
@ -167,7 +167,7 @@ export default {
this.rflag = false
}
)
}, 1000),
},
handleOpen() {
this.$forceUpdate()
faceStart().then(res => {

@ -530,7 +530,7 @@ export default {
instrument_module_id: []
}
},
handleFaceCancel: throttle(function() {
handleFaceCancel: function() {
faceStop().then(
res => {
this.dialogFaceVisible = false
@ -538,7 +538,7 @@ export default {
this.rflag = false
}
)
}, 1000),
},
handleCancel() {
this.play = null
this.rflag = false

Loading…
Cancel
Save