mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +08:00
修改管理连接问题
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item><router-link to="/index">学员</router-link></el-dropdown-item>
|
||||
<el-dropdown-item v-if="identity == 2 || identity == 5" @click.native="setCurIdentity(2)"><router-link to="/need/waitaudit">教师</router-link></el-dropdown-item>
|
||||
<el-dropdown-item v-if="identity == 3 || identity == 5" ><a href="/pc/manage">管理员</a></el-dropdown-item>
|
||||
<el-dropdown-item v-if="identity == 3 || identity == 5" ><a :href="ctx+'/pc/manage'">管理员</a></el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
@@ -171,6 +171,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
popupConfig:{},
|
||||
ctx:process.env.VUE_APP_PUBLIC_PATH,
|
||||
fileBaseUrl: process.env.VUE_APP_FILE_BASE_URL,
|
||||
findType: '1',
|
||||
keyword: '',
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<div style="margin-top:10px">
|
||||
<router-link to="/study/index"><span :class="{identity:true,active:curIdentity==1}" @click="setCurIdentity(1)">学员</span></router-link>
|
||||
<router-link to="/teacher/index"><span v-if="identity == 2 || identity == 5" :class="{identity:true,active:curIdentity==2}" @click="setCurIdentity(2)">教师</span></router-link>
|
||||
<span v-if="identity == 3 || identity == 5" :class="{identity:true,active:curIdentity==3}" ><a :href="webBaseUrl+'/manage'">管理员</a></span>
|
||||
<span v-if="identity == 3 || identity == 5" :class="{identity:true,active:curIdentity==3}" ><a :href="ctx+'/manage'">管理员</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -103,6 +103,7 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js";
|
||||
},
|
||||
data(){
|
||||
return {
|
||||
ctx:process.env.VUE_APP_PUBLIC_PATH,
|
||||
fileBaseUrl:process.env.VUE_APP_FILE_BASE_URL,
|
||||
isTest:false,
|
||||
statData:{
|
||||
|
||||
Reference in New Issue
Block a user