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"); //培训分类