From 7c35352bb62573ffcd641c507350ddbd62bc53f9 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Thu, 27 Jul 2023 18:15:04 +0800 Subject: [PATCH] fix bug checktoken --- src/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 6cdfd8ae..6026b58b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -52,8 +52,8 @@ function beforeunloadHandler() { time1.value = new Date().getTime(); } -function init() { - validateToken(); +async function init() { + await validateToken(); initDict("content_type"); //内容分类 initDict("project_level"); //项目级别 initDict("project_sys"); //培训分类