mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-06 09:26:43 +08:00
修改配置及跳转管理端的处理
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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/'
|
||||
|
||||
@@ -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/'
|
||||
|
||||
@@ -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/'
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user