mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 13:22:49 +00:00
fix:修复打开okr方法的bug
This commit is contained in:
parent
a603211f1a
commit
00fa06a274
7
resources/assets/js/store/actions.js
vendored
7
resources/assets/js/store/actions.js
vendored
@ -3442,13 +3442,18 @@ export default {
|
|||||||
* @param dispatch
|
* @param dispatch
|
||||||
* @param link_id
|
* @param link_id
|
||||||
*/
|
*/
|
||||||
openOkr({state, dispatch}, link_id) {
|
openOkr({state}, link_id) {
|
||||||
if (link_id > 0) {
|
if (link_id > 0) {
|
||||||
state.okrWindow = {
|
state.okrWindow = {
|
||||||
type: 'okrDetails',
|
type: 'okrDetails',
|
||||||
show: true,
|
show: true,
|
||||||
id: link_id
|
id: link_id
|
||||||
};
|
};
|
||||||
|
setTimeout(()=>{
|
||||||
|
state.okrWindow.show = false;
|
||||||
|
state.okrWindow.id = 0;
|
||||||
|
},10)
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user