fix(src/views/user): 视屏流结束后强制刷新

duizhaopin_ui
duan 2 years ago
parent 714e26370e
commit 6ab63e1a29

@ -91,8 +91,8 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="scope.row.is_enabled === 1?'success':'danger'">{{ <el-tag :type="scope.row.is_enabled === 1?'success':'danger'">{{
scope.row.is_enabled === 1 ? '启用' : '未启用' scope.row.is_enabled === 1 ? '启用' : '未启用'
}} }}
</el-tag> </el-tag>
</template> </template>
</el-table-column> </el-table-column>
@ -433,6 +433,7 @@ export default {
this.dialogVisible = true this.dialogVisible = true
}, },
handleFace(index, row) { handleFace(index, row) {
this.$forceUpdate()
faceStart().then(res => { faceStart().then(res => {
setTimeout(() => { setTimeout(() => {
this.play = process.env.VUE_APP_FACE_API + '/face/play/' this.play = process.env.VUE_APP_FACE_API + '/face/play/'

Loading…
Cancel
Save