fix: BUG修改
This commit is contained in:
parent
be7087a42f
commit
dfd8926ac3
@ -12,7 +12,7 @@ import router from "@/routers";
|
||||
|
||||
const config = {
|
||||
// 默认地址请求地址,可在 .env.*** 文件中修改
|
||||
baseURL: import.meta.env.VITE_API_URL as string,
|
||||
// baseURL: import.meta.env.VITE_API_URL as string,
|
||||
// baseURL: import.meta.env.NODE_ENV=='development' ?'/api' : window.http,
|
||||
// 设置超时时间(10s)
|
||||
timeout: ResultEnum.TIMEOUT as number,
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
<!-- 经典布局 -->
|
||||
<template>
|
||||
<el-container class="layout">
|
||||
<!-- <el-container class="classic-main">
|
||||
<el-container class="classic-main">
|
||||
<Main />
|
||||
</el-container> -->
|
||||
<el-header>
|
||||
</el-container>
|
||||
<!-- <el-header>
|
||||
<div class="header-lf">
|
||||
<div @click="goHome" class="logo flx-center">
|
||||
<img src="@/assets/images/login/china.png" style="margin: 0 15px" alt="logo" />
|
||||
@ -15,10 +15,10 @@
|
||||
<ToolBarLeft />
|
||||
</div>
|
||||
<ToolBarRight />
|
||||
</el-header>
|
||||
<el-container class="classic-content">
|
||||
</el-header> -->
|
||||
<!-- <el-container class="classic-content">
|
||||
<el-aside>
|
||||
<!-- <div class="menu" :style="{ width: isCollapse ? '65px' : '210px' }"> 根据屏幕自动收缩 -->
|
||||
<div class="menu" :style="{ width: isCollapse ? '65px' : '210px' }"> 根据屏幕自动收缩
|
||||
<div class="menu">
|
||||
<el-scrollbar>
|
||||
<el-menu
|
||||
@ -39,7 +39,7 @@
|
||||
<el-container class="classic-main">
|
||||
<Main />
|
||||
</el-container>
|
||||
</el-container>
|
||||
</el-container> -->
|
||||
<!-- <el-dialog class="overview" :show-close="false" v-model="visible1" width="50%" @close="visible1 = false">
|
||||
<template #title>
|
||||
<div class="title-detail">
|
||||
|
||||
@ -54,7 +54,6 @@ const tokenIdentify = async () => {
|
||||
} else if (route.query.routeUrl) {
|
||||
defalutRouteUrl = route.query.routeUrl;
|
||||
}
|
||||
console.log(defalutRouteUrl, 888999);
|
||||
await initDynamicRouter({ moduleId: data["惠州项目"][0].moduleId }, defalutRouteUrl);
|
||||
globalStore.moduleId = data["惠州项目"][0].moduleId;
|
||||
// if (responseData.accountType === 2) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user