Compare commits

...

3 Commits

Author SHA1 Message Date
WangXuewen
f642490290
Pre Merge pull request !34 from WangXuewen/master 2025-11-11 14:03:41 +00:00
lin
c1254b5b09 调整停止按钮参数方式 2025-11-11 22:03:28 +08:00
wangxw
b05f770a57 解决sql错误,启动是PGSQL查询报错integer=boolean 2024-12-12 17:37:36 +08:00
2 changed files with 5 additions and 2 deletions

View File

@ -11,7 +11,7 @@ const actions = {
})
})
},
stop({ commit }, [deviceId, channelId]) {
stop({ commit }, { deviceId, channelId }) {
return new Promise((resolve, reject) => {
stop(deviceId, channelId).then(response => {
const { data } = response

View File

@ -422,7 +422,10 @@ export default {
})
},
stopDevicePush: function(itemData) {
this.$store.dispatch('play/stop', [this.deviceId, itemData.deviceId]).then(data => {
this.$store.dispatch('play/stop', {
deviceId: this.deviceId,
channelId: itemData.deviceId
}).then(data => {
this.initData()
}).catch((error) => {
if (error.response.status === 402) { //