store/websocket.js
@@ -149,13 +149,18 @@ }; } else if (type == "taks") { // 角色辖区 // $store.state.Jurisdiction; $store.commit("changeTaksMsg"); //任务状态更新 //语音提醒 $store.commit("controlAudio", { key: 'keke', method: '$pause' }) if (state.UserData.jurisdiction == value.xqid) { console.log("开始推送") // $store.state.Jurisdiction; $store.commit("changeTaksMsg"); //任务状态更新 //语音提醒 // console.log($store) $store.commit("controlAudio", { key: 'keke', method: '$play' }) // "1415621013200236545" } } }, //本地建造数据传递