fix: 修复国标收流列表播放按钮 loading 不生效问题
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user