跳转管理端连接

This commit is contained in:
daihh
2023-07-28 15:54:20 +08:00
parent f335e4d19e
commit e0a600f451
2 changed files with 2 additions and 13 deletions

View File

@@ -56,7 +56,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" @click.native="setCurIdentity(3)"><router-link to="/course/manage">管理员</router-link></el-dropdown-item>
<el-dropdown-item v-if="identity == 3 || identity == 5" @click.native="setCurIdentity(3)"><a :href="managerPath+'/learningpath'">管理员</a></el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
@@ -134,6 +134,7 @@ export default {
data() {
return {
isTiao:false,
managerPath:process.env.VUE_APP_MANAGER_PATH,
interestShow:false,
checked:true,
signInShow: false,