용어집 기본프로필 수정
This commit is contained in:
parent
c612a8a90f
commit
2fb0ca06dc
@ -194,8 +194,11 @@ const baseUrl = $api.defaults.baseURL.replace(/api\/$/, '');
|
||||
const formatDate = (dateString) => new Date(dateString).toLocaleString();
|
||||
|
||||
// 프로필 이미지
|
||||
const getProfileImage = (imagePath) =>
|
||||
imagePath ? `${baseUrl}upload/img/profile/${imagePath}` : '/img/avatars/default-Profile.jpg';
|
||||
const defaultProfile = "/img/icons/icon.png";
|
||||
|
||||
const getProfileImage = (profilePath) => {
|
||||
return profilePath && profilePath.trim() ? `${baseUrl}upload/img/profile/${profilePath}` : defaultProfile;
|
||||
};
|
||||
|
||||
|
||||
// 체크 상태 변경 시 부모로 전달
|
||||
|
||||
Loading…
Reference in New Issue
Block a user