This commit is contained in:
quantulr
2023-09-13 17:33:00 +08:00
parent d54b5aad2f
commit 0e5ad5921e
3 changed files with 5 additions and 3 deletions

View File

@ -12,9 +12,10 @@
`/approval/data-list/laboratory`,
].includes(basePath)
"
:value="getCount(basePath)"
class="count-badge"
>
<!-- FIXME:无限递归bug-->
<!-- :value="getCount(basePath)"-->
<div>
<template
v-if="

View File

@ -31,7 +31,8 @@ router.beforeEach((to, from, next) => {
.getInfo()
.then(() => {
isRelogin.show = false;
useUserStore().getApprovalCount();
// FIXME:
// useUserStore().getApprovalCount();
usePermissionStore()
.generateRoutes()
.then((accessRoutes) => {