From 1dda330c0794e52b9e8502e0c07895f2c05eba03 Mon Sep 17 00:00:00 2001 From: wyx Date: Tue, 17 Jan 2023 08:58:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=AD=A6=E4=B9=A0=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E5=9B=BE=E6=A0=B9=E6=8D=AE=E5=88=9B=E5=BB=BA=E8=80=85=E5=B8=A6?= =?UTF-8?q?=E5=87=BA=E5=BD=92=E5=B1=9E=E7=BB=84=E7=BB=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/learningpath/LearningPath.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/learningpath/LearningPath.vue b/src/views/learningpath/LearningPath.vue index aa755f2d..aac43099 100644 --- a/src/views/learningpath/LearningPath.vue +++ b/src/views/learningpath/LearningPath.vue @@ -858,12 +858,14 @@ export default { state.pathName = ""; state.pathBg = ""; state.pathBgId = ""; - if(store.state.userInfo.departId && store.state.userInfo.departName){ - state.organizationSelectName = store.state.userInfo.departName; - state.organizationSelectId = store.state.userInfo.departId; - } state.pathIntro = ""; state.out = !state.out; + setTimeout(() => { + if(store.state.userInfo.departId && store.state.userInfo.departName){ + state.organizationSelectName = store.state.userInfo.departName; + state.organizationSelectId = store.state.userInfo.departId; + } + }, 2000); }; const handleOut1 = () => { state.pathName = "";