diff --git a/src/App.vue b/src/App.vue index 157cd46..222393d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -50,7 +50,7 @@ import axios from 'axios' import { getApiBaseUrl } from './config' // 登录状态 -const isLoggedIn = ref(false) +const isLoggedIn = ref(true) // 当前显示的页面 const currentPage = ref('dashboard') diff --git a/src/components/TalentDetail.vue b/src/components/TalentDetail.vue index 21f2dbb..e2ae0ed 100644 --- a/src/components/TalentDetail.vue +++ b/src/components/TalentDetail.vue @@ -78,24 +78,35 @@
姓名: - {{ teacher.basicInformation.name0 }} + + {{ teacher.basicInformation.name0 }} +
职称 / 职务: - {{ teacher.basicInformation.name2 }}{{ teacher.basicInformation.name3 ? ' / ' + teacher.basicInformation.name3 : '' }} + + + {{ teacher.basicInformation.name2 }}{{ teacher.basicInformation.name3 ? ' / ' + teacher.basicInformation.name3 : '' }} + +
所属学院: - - {{ teacher.basicInformation.name4 }} + + {{ teacher.basicInformation.name4 }} +
最高学历: - {{ teacher.basicInformation.name5 }} + + {{ teacher.basicInformation.name5 }} +
学科方向: - {{ teacher.basicInformation.name6 }} + + {{ teacher.basicInformation.name6 }} +
@@ -118,6 +129,7 @@ import { ref, onMounted, watch, nextTick } from 'vue'; import * as echarts from 'echarts/core'; import { RadarChart } from 'echarts/charts'; +import { ElTooltip } from 'element-plus'; // 引入新组件 import TalentDrawerDetail from './TalentDrawerDetail.vue'; import {