修改配置及跳转管理端的处理

This commit is contained in:
daihh
2022-12-26 10:44:00 +08:00
parent 1d64b54653
commit e5c9d8abfd
6 changed files with 16 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ VUE_APP_LOGIN_URL='/pc/login'
# 虚拟目录的变量
VUE_APP_PUBLIC_PATH='/pc'
VUE_APP_MANAGER_PATH='/manage'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true

View File

@@ -29,6 +29,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
# 虚拟目录的变量,结尾的/在vue.config.js中添加
VUE_APP_PUBLIC_PATH='/pc-release'
VUE_APP_MANAGER_PATH='/manage-release'
# 登录地址
VUE_APP_LOGIN_URL='https://u.boe.com/web-release/'

View File

@@ -29,6 +29,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
# 虚拟目录的变量,结尾的/在vue.config.js中添加
VUE_APP_PUBLIC_PATH='/pc'
VUE_APP_MANAGER_PATH='/manage'
# 登录地址
VUE_APP_LOGIN_URL='https://u.boe.com/web/'

View File

@@ -29,6 +29,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
# 虚拟目录的变量,结尾的/在vue.config.js中添加
VUE_APP_PUBLIC_PATH='/pc'
VUE_APP_MANAGER_PATH='/manage'
# 登录地址
VUE_APP_LOGIN_URL='https://u-pre.boe.com/web/'

View File

@@ -1,12 +1,17 @@
<template>
<!--学习路径图-->
<div class="box">
<iframe id="studyPathFrame" src="/fe-student/learnpath" style="width: 100%;height: 800px;" frameborder="0"></iframe>
<iframe id="studyPathFrame" :src="basePath+'/fe-student/learnpath'" style="width: 100%;height: 800px;" frameborder="0"></iframe>
</div>
</template>
<script>
export default{
data(){
return {
basePath:process.env.VUE_APP_MANAGER_PATH
}
},
mounted() {
const oIframe = document.getElementById('studyPathFrame');
//const deviceWidth = document.documentElement.clientWidth;

View File

@@ -1,12 +1,17 @@
<template>
<!--学习项目-->
<div class="box">
<iframe id="studyPathFrame" src="/fe-student/projectManage" style="width: 100%;height: 800px;" frameborder="0"></iframe>
<iframe id="studyPathFrame" :src="basePath+'/fe-student/projectManage'" style="width: 100%;height: 800px;" frameborder="0"></iframe>
</div>
</template>
<script>
export default{
data(){
return {
basePath:process.env.VUE_APP_MANAGER_PATH
}
},
mounted() {
const oIframe = document.getElementById('studyPathFrame');
//const deviceWidth = document.documentElement.clientWidth;