mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-23 05:37:48 +08:00
fix: 修复国标收流列表播放按钮 loading 不生效问题
This commit is contained in:
parent
380c42040f
commit
2b66404a2a
@ -119,7 +119,7 @@ export default {
|
|||||||
sendDevicePush: function (row) {
|
sendDevicePush: function (row) {
|
||||||
const deviceId = row.parentDeviceId
|
const deviceId = row.parentDeviceId
|
||||||
const channelId = row.deviceId
|
const channelId = row.deviceId
|
||||||
row.playing = true
|
this.$set(row, "playing", true)
|
||||||
this.$store.dispatch("play/play", [deviceId, channelId])
|
this.$store.dispatch("play/play", [deviceId, channelId])
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
this.$refs.devicePlayer.openDialog("media", deviceId, channelId, {
|
this.$refs.devicePlayer.openDialog("media", deviceId, channelId, {
|
||||||
@ -128,7 +128,7 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
row.playing = false
|
this.$set(row, "playing", false)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
stopDevicePush: function (row) {
|
stopDevicePush: function (row) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user