회원유형 버그 수정
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
</div>
|
||||
<div class="field col-6 mb-3">
|
||||
<label for="memberType" class="mb-1">회원 유형</label>
|
||||
<Select id="memberType" v-model="member.memberType" :options="filteredMemberTypeOptions" optionLabel="name" optionValue="code" placeholder="회원 유형 선택" class="w-full" />
|
||||
<Select id="memberType" v-model="member.memberType" :options="filteredMemberTypeOptions" optionLabel="name" optionValue="code" placeholder="회원 유형 선택" class="w-full" :disabled="member.memberType === 'owner'" />
|
||||
</div>
|
||||
<div class="field col-6 mb-3">
|
||||
<label for="phone" class="mb-1">전화번호</label>
|
||||
@@ -203,7 +203,7 @@ import {
|
||||
getStatusLabel
|
||||
} from '@/utils/enumMappings';
|
||||
// 모임장(owner) 옵션을 제외한 회원 유형 옵션만 노출
|
||||
const filteredMemberTypeOptions = computed(() => MEMBER_TYPE_OPTIONS.filter(opt => opt.value !== 'owner' && opt.code !== 'owner'));
|
||||
const filteredMemberTypeOptions = computed(() => MEMBER_TYPE_OPTIONS.filter(opt => opt.value !== 'owner'));
|
||||
|
||||
const clubStore = useClubStore();
|
||||
const toast = useToast();
|
||||
|
||||
Reference in New Issue
Block a user