liuyg
2022-03-31 20850ac8f5ec163cdcb15a0e52f125ee71e3e404
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"
            }
         }
      },
      //本地建造数据传递