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