익명 확인중

This commit is contained in:
kimdaae328 2025-02-24 15:26:39 +09:00
parent 170e472815
commit 5f80998da8
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ const props = defineProps({
},
profileName: {
type: String,
default: '익명',
default: '',
},
unknown: {
type: Boolean,

View File

@ -158,7 +158,7 @@ const route = useRoute();
const router = useRouter();
const userStore = useUserInfoStore();
const currentBoardId = ref(Number(route.params.id));
const unknown = computed(() => profileName.value === '익명');
// const unknown = computed(() => profileName.value === '');
const currentUserId = computed(() => userStore.user.id); // id
const authorId = ref(''); // id
@ -210,7 +210,7 @@ const fetchBoardDetails = async () => {
// API
// const boardDetail = data.boardDetail || {};
profileName.value = data.author || '익명';
profileName.value = data.author;
//
// profileName.value = '';