zs 2 months ago
parent
commit
e367888afe
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/center/index.vue

+ 1 - 0
src/views/center/index.vue

@@ -21,6 +21,7 @@ onMounted(async () => {
   // 1个目录都没有,也不对,有默认设置的,需要查看下是否有默认设置
   if (menus.length <= 0) str = '用户目录数量异常'
   if (str) {
+    const nowRouteFullPath = router.currentRoute.value.fullPath
     ElMessageBox.confirm(str, '用户异常', {
       confirmButtonText: '重新登录',
       type: 'error'