fix:修复打开okr方法的bug

This commit is contained in:
weifashi 2023-07-28 17:09:21 +08:00
parent a603211f1a
commit 00fa06a274

View File

@ -3442,13 +3442,18 @@ export default {
* @param dispatch
* @param link_id
*/
openOkr({state, dispatch}, link_id) {
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)
}
},
}