diff --git a/src/views/staff/staffDetailList.vue b/src/views/staff/staffDetailList.vue
index ff6055e..1827cd1 100644
--- a/src/views/staff/staffDetailList.vue
+++ b/src/views/staff/staffDetailList.vue
@@ -12,7 +12,7 @@
-
@@ -143,7 +143,7 @@ export default {
this.$router.go(-1)
},
errorLoadImg() {
- this.staffDetailInfo.photo = "/img/noPhoto.jpg"
+ this.staffDetailInfo.photoUrl = "/img/noPhoto.jpg"
},
async loadStaffDetail() {
try {
@@ -155,7 +155,7 @@ export default {
const res = await getStaffDetail(params)
if ( res.staffs.length > 0) {
Object.assign(this.staffDetailInfo, res.staffs[0])
- this.staffDetailInfo.photo = res.staffs[0].faceUrl
+ this.staffDetailInfo.photoUrl = res.staffs[0].photoUrl
}
} catch (error) {
this.$message.error(this.$t('staffDetailInfo.fetchError'))