defaultProfile 추가
This commit is contained in:
parent
909be29d74
commit
8b45d5f048
@ -15,7 +15,7 @@
|
||||
<img
|
||||
class="rounded-circle user-avatar border border-3"
|
||||
:class="{ 'grayscaleImg': isUserDisabled(user) }"
|
||||
:src="`${baseUrl}upload/img/profile/${user.MEMBERPRF}`"
|
||||
:src="profilePath ? `${baseUrl}upload/img/profile/${profilePath}` : defaultProfile"
|
||||
:style="`border-color: ${user.usercolor} !important;`"
|
||||
alt="user"
|
||||
/>
|
||||
@ -32,6 +32,7 @@ const emit = defineEmits(['user-list-update']);
|
||||
const userStore = useUserStore();
|
||||
const userList = ref([]);
|
||||
const baseUrl = $api.defaults.baseURL.replace(/api\/$/, '');
|
||||
const defaultProfile = "/img/icons/icon.png";
|
||||
|
||||
const props = defineProps({
|
||||
projctSeq: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user