mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-17 14:42:51 +00:00
feat:调整打开okr明细的方法
This commit is contained in:
parent
3fe9c60480
commit
c8bc67e7bf
6
resources/assets/js/store/actions.js
vendored
6
resources/assets/js/store/actions.js
vendored
@ -3444,6 +3444,11 @@ export default {
|
|||||||
*/
|
*/
|
||||||
openOkr({state}, link_id) {
|
openOkr({state}, link_id) {
|
||||||
if (link_id > 0) {
|
if (link_id > 0) {
|
||||||
|
if (window.innerWidth < 910) {
|
||||||
|
$A.goForward({
|
||||||
|
path:'/manage/apps/#/okrDetails?data='+link_id,
|
||||||
|
});
|
||||||
|
}else{
|
||||||
state.okrWindow = {
|
state.okrWindow = {
|
||||||
type: 'okrDetails',
|
type: 'okrDetails',
|
||||||
show: true,
|
show: true,
|
||||||
@ -3454,6 +3459,7 @@ export default {
|
|||||||
state.okrWindow.id = 0;
|
state.okrWindow.id = 0;
|
||||||
},10)
|
},10)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user