Commit 07c7f032 authored by xuchaozou's avatar xuchaozou

feat: 增加站点改变方式监听

parent c16cc472
......@@ -244,6 +244,9 @@ const GlobalHeaderRight = props => {
const arr = roleStationArr.current.filter(item => item.name == stationname);
window._menuStation = arr.length ? arr[0] : {};
localStorage.setItem('globMenuStation', arr.length ? JSON.stringify(arr[0]) : '{}')
if(window.share && window.share.event && window.share.event.emit) { //更改获取站点信息
window.share.event.emit("changeGlobMenuStation", window._menuStation)
}
setTimeout(()=>{
slectDom.current.blur()
},200)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment