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`, `/approval/data-list/laboratory`,
].includes(basePath) ].includes(basePath)
" "
:value="getCount(basePath)"
class="count-badge" class="count-badge"
> >
<!-- FIXME:无限递归bug-->
<!-- :value="getCount(basePath)"-->
<div> <div>
<template <template
v-if=" v-if="

View File

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

View File

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