diff --git a/resources/assets/js/store/actions.js b/resources/assets/js/store/actions.js index bc1c4ef5f..d03d266f0 100644 --- a/resources/assets/js/store/actions.js +++ b/resources/assets/js/store/actions.js @@ -3444,15 +3444,21 @@ export default { */ openOkr({state}, link_id) { if (link_id > 0) { - state.okrWindow = { - type: 'okrDetails', - show: true, - id: link_id - }; - setTimeout(()=>{ - state.okrWindow.show = false; - state.okrWindow.id = 0; - },10) + if (window.innerWidth < 910) { + $A.goForward({ + path:'/manage/apps/#/okrDetails?data='+link_id, + }); + }else{ + state.okrWindow = { + type: 'okrDetails', + show: true, + id: link_id + }; + setTimeout(()=>{ + state.okrWindow.show = false; + state.okrWindow.id = 0; + },10) + } } },