From 4c44096f4108bc9a919a5b623f3e8922993bb804 Mon Sep 17 00:00:00 2001 From: liuzhiyuan <> Date: Thu, 7 Aug 2025 09:22:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E8=BF=87=E9=95=BF=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=85=A8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/components/TalentDetail.vue | 24 ++++++++++++++++++------ 2 files changed, 19 insertions(+), 7 deletions(-) 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 {