|
|
|
@ -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 => {
|
|
|
|
|