fix: 정규 표현식 수정 및 조건부 렌더링 개선; 코드 가독성 향상
This commit is contained in:
@@ -280,10 +280,10 @@ onMounted(() => {
|
||||
</select>
|
||||
<input v-model="filterText" class="filter-input" placeholder="도시 검색" />
|
||||
<button
|
||||
v-if="canAppoint"
|
||||
class="ghost"
|
||||
:class="{ active: showAppointment }"
|
||||
@click="showAppointment = !showAppointment"
|
||||
v-if="canAppoint"
|
||||
>
|
||||
관직 임명 모드
|
||||
</button>
|
||||
@@ -345,7 +345,7 @@ onMounted(() => {
|
||||
</div>
|
||||
|
||||
<div v-if="showAppointment && canAppoint" class="city-appoint">
|
||||
<div class="appoint-row" v-for="level in officerLevels" :key="level">
|
||||
<div v-for="level in officerLevels" :key="level" class="appoint-row">
|
||||
<span class="officer-label">{{ officerLabels[level] }}</span>
|
||||
<select
|
||||
v-model.number="appointmentDraft[city.id][level]"
|
||||
|
||||
Reference in New Issue
Block a user