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) => {

View File

@ -33,7 +33,7 @@ export default defineConfig(({ mode, command }) => {
"/dev-api": {
// target: "http://192.168.110.10:1618",
// target: 'http://101.34.131.16:1618',
target: "http://192.168.0.201:1618",
target: "http://101.34.251.155:81/api",
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, ""),
},