mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-20 16:26:43 +08:00
提交修改
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
</el-tooltip>
|
||||
</el-badge>
|
||||
<div>
|
||||
<a :href="`${webBaseUrl}${isTiao ? '/uc/study/task' : '/uc/study/courses'}`">
|
||||
<a :href="`${webBaseUrl}${'/uc/study/task?identity=1'}`">
|
||||
<el-avatar :src="userInfo.avatar" v-if="userInfo.avatar !== '' "></el-avatar>
|
||||
<div v-else class="uavatar">
|
||||
<div v-if="sex === 1 "><img src="../../public/images/Avatarman.png" alt=""></div>
|
||||
@@ -54,7 +54,7 @@
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<el-link type="primary" style="margin-right:10px;" :href="`${webBaseUrl}${isTiao ? '/uc/study/task' : '/uc/study/courses'}`" :underline="false">个人中心</el-link>
|
||||
<el-link type="primary" style="margin-right:10px;" :href="`${webBaseUrl}${'/uc/study/task?identity=1'}`" :underline="false">个人中心</el-link>
|
||||
<el-link type="primary" @click="logout()" icon="el-icon-switch-button" :underline="false">退出</el-link>
|
||||
</div>
|
||||
</div>
|
||||
@@ -117,13 +117,13 @@ export default {
|
||||
// cmtask_status:this.cmtask_status,
|
||||
// cmtask_name:this.cmtask_name,
|
||||
};
|
||||
apiBoeCourse.cmtaskList(params).then(res => {
|
||||
if (res.status == 200 && res.result.count > 0) {
|
||||
this.isTiao = true;
|
||||
} else {
|
||||
this.isTiao = false;
|
||||
}
|
||||
});
|
||||
// apiBoeCourse.cmtaskList(params).then(res => {
|
||||
// if (res.status == 200 && res.result.count > 0) {
|
||||
// this.isTiao = true;
|
||||
// } else {
|
||||
// this.isTiao = false;
|
||||
// }
|
||||
// });
|
||||
},
|
||||
handleCommand(val) {
|
||||
let urlPre=window.location.protocol+'//'+window.location.host;
|
||||
|
||||
Reference in New Issue
Block a user