todo:
This commit is contained in:
@ -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="
|
||||
|
@ -31,7 +31,8 @@ router.beforeEach((to, from, next) => {
|
||||
.getInfo()
|
||||
.then(() => {
|
||||
isRelogin.show = false;
|
||||
useUserStore().getApprovalCount();
|
||||
// FIXME:
|
||||
// useUserStore().getApprovalCount();
|
||||
usePermissionStore()
|
||||
.generateRoutes()
|
||||
.then((accessRoutes) => {
|
||||
|
@ -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/, ""),
|
||||
},
|
||||
|
Reference in New Issue
Block a user