mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-22 09:16:44 +08:00
修改配置及跳转管理端的处理
This commit is contained in:
@@ -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