|
3 | 3 | <ModalView |
4 | 4 | :isOpen="isModalVisible" |
5 | 5 | :type="'successType'" |
6 | | - @close="handleCancel"> |
| 6 | + @close="isModalVisible = !isModalVisible"> |
7 | 7 | <template #header>정보가 수정되었습니다</template> |
8 | 8 | </ModalView> |
9 | 9 |
|
|
26 | 26 | </ModalView> |
27 | 27 |
|
28 | 28 | <div class="profile"> |
29 | | - <p class="text-body text-xs font-bold">프로필 사진</p> |
| 29 | + <p class="text-body text-xs font-semibold">프로필 사진</p> |
30 | 30 | <ImageContainer |
31 | 31 | class="mt-3" |
32 | 32 | :url="previewUrl || info.profileImageUrl" |
33 | 33 | :size="96" /> |
34 | 34 | <div class="flex gap-6"> |
35 | 35 | <label |
36 | 36 | for="fileInput" |
37 | | - class="mt-3 text-xs text-primary1 font-bold cursor-pointer hover:underline" |
| 37 | + class="mt-3 text-xs text-primary1 font-semibold cursor-pointer hover:underline" |
38 | 38 | >변경</label |
39 | 39 | > |
40 | 40 | <label |
41 | 41 | for="fileDelete" |
42 | | - class="mt-3 text-xs text-red-1 font-bold cursor-pointer hover:underline" |
| 42 | + class="mt-3 text-xs text-red-1 font-semibold cursor-pointer hover:underline" |
43 | 43 | >삭제</label |
44 | 44 | > |
45 | 45 | </div> |
|
56 | 56 | class="hidden" /> |
57 | 57 | </div> |
58 | 58 | <div class="flex flex-col relative"> |
59 | | - <p class="text-body text-xs font-bold">이름</p> |
| 59 | + <p class="text-body text-xs font-semibold">이름</p> |
60 | 60 | <span class="absolute top-1 right-2 text-xs text-gray-500"> {{ name.length }} / 10 </span> |
61 | 61 | <input |
62 | 62 | :class="[ |
|
71 | 71 | <div class="mb-1"> |
72 | 72 | <span |
73 | 73 | v-show="isInvalid || isFull" |
74 | | - class="absolute text-red-1 text-xs font-bold mt-1" |
| 74 | + class="absolute text-red-1 text-xs font-semibold mt-1" |
75 | 75 | >{{ nameError }}</span |
76 | 76 | > |
77 | 77 | </div> |
78 | 78 | </div> |
79 | 79 | <div class="flex flex-col"> |
80 | | - <p class="text-body text-xs font-bold">아이디</p> |
| 80 | + <p class="text-body text-xs font-semibold">아이디</p> |
81 | 81 | <p class="mt-2">{{ info.nickname }}</p> |
82 | 82 | </div> |
83 | 83 | <div class="flex flex-col"> |
84 | | - <p class="text-body text-xs font-bold">이메일</p> |
| 84 | + <p class="text-body text-xs font-semibold">이메일</p> |
85 | 85 | <p class="mt-2">{{ info.email }}</p> |
86 | 86 | </div> |
87 | 87 | <div class="flex flex-col"> |
88 | | - <p class="text-body text-xs font-bold">부서</p> |
| 88 | + <p class="text-body text-xs font-semibold">부서</p> |
89 | 89 | <p class="mt-2">{{ info.departmentName }}</p> |
90 | 90 | </div> |
91 | 91 | <div |
92 | 92 | v-if="info.departmentRole" |
93 | 93 | class="flex flex-col"> |
94 | | - <p class="text-body text-xs font-bold">직무</p> |
| 94 | + <p class="text-body text-xs font-semibold">직무</p> |
95 | 95 | <p class="mt-2">{{ info.departmentRole }}</p> |
96 | 96 | </div> |
97 | 97 | <div> |
98 | | - <p class="text-body text-xs font-bold">알림 수신 여부</p> |
| 98 | + <p class="text-body text-xs font-semibold">알림 수신 여부</p> |
99 | 99 | <div class="flex flex-col mt-2 gap-2"> |
100 | 100 | <FormCheckbox |
101 | 101 | v-model="kakaoWorkCheck" |
|
108 | 108 | </div> |
109 | 109 | </div> |
110 | 110 | <div> |
111 | | - <p class="text-body text-xs font-bold">비밀번호 재설정</p> |
| 111 | + <p class="text-body text-xs font-semibold">비밀번호 재설정</p> |
112 | 112 | <button |
113 | 113 | type="button" |
114 | 114 | class="button-medium-secondary mt-2" |
@@ -279,13 +279,9 @@ const handleSubmit = async () => { |
279 | 279 | selectedFile.value = null |
280 | 280 | } |
281 | 281 |
|
282 | | - try { |
283 | | - await patchEditInfo(formData) |
284 | | - isModalVisible.value = true |
285 | | - await memberStore.updateMemberInfoWithToken() |
286 | | - } catch (error) { |
287 | | - console.error('요청 실패:', error) |
288 | | - } |
| 282 | + await patchEditInfo(formData) |
| 283 | + isModalVisible.value = true |
| 284 | + await memberStore.updateMemberInfoWithToken() |
289 | 285 | } |
290 | 286 | } |
291 | 287 | </script> |
0 commit comments