跳转问题

This commit is contained in:
daihh
2023-07-28 14:54:07 +08:00
parent 231fe35ce5
commit 7bbfc85833
2 changed files with 2 additions and 2 deletions

View File

@@ -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>
<router-link :to="`${webBaseUrl}`/manage"><span v-if="identity == 3 || identity == 5" :class="{identity:true,active:curIdentity==3}" >管理员</span></router-link>
<a :href="`${webBaseUrl}`/manage"><span v-if="identity == 3 || identity == 5" :class="{identity:true,active:curIdentity==3}" >管理员</span></a>
</div>
</div>
</div>