暂无照片
@@ -64,7 +64,7 @@
佐证材料
-
+
查看文件
diff --git a/src/frontend/src/views/personnel/PersonnelForm.vue b/src/frontend/src/views/personnel/PersonnelForm.vue
index 20978a3..f5c45d9 100644
--- a/src/frontend/src/views/personnel/PersonnelForm.vue
+++ b/src/frontend/src/views/personnel/PersonnelForm.vue
@@ -312,7 +312,7 @@ async function loadPersonnel() {
form.trainingParticipation = person.trainingParticipation || ''
form.achievements = person.achievements || ''
if (person.photoPath) {
- photoPreview.value = `/api/files/${person.photoPath}`
+ photoPreview.value = person.photoPath
}
} catch {
ElMessage.error('加载人才信息失败')