코드수정정

This commit is contained in:
khj0414 2025-03-14 15:37:42 +09:00
parent 9e4207de95
commit c51da7f56d
8 changed files with 135 additions and 133 deletions

View File

@ -2,8 +2,7 @@
<div class="card-text">
<div class="demo-inline-spacing">
<!-- 투표리스트 -->
<div v-for="(item, index) in data"
:key="index">
<div v-for="(item, index) in data" :key="index">
<vote-card-check-list
:data="item"
:multiIs = voteInfo.LOCVOTMUL

View File

@ -3,6 +3,7 @@
<div class="">
<!-- 투표 작성 -->
<WriteBtn @click="voteWrite" />
<!-- 투표마감/투표중 셀렉트 -->
<div v-for="(item, index) in categoryList" @change="selectHandler"
:key="index"
@ -11,6 +12,7 @@
:value="index" v-model="category">
<label class="form-check-label" :for="'inlineRadio' + index">{{ item }}</label>
</div>
<!-- 내가한 투표 보기 -->
<div class="">
<div class="form-check">
@ -18,6 +20,7 @@
<label class="form-check-label" for="defaultCheck1"> 내가 투표 </label>
</div>
</div>
<!-- 투표리스트 -->
<div v-if="voteListCardData.length == 0 " >투표가 없습니다.</div>
<vote-list
@ -42,7 +45,7 @@
@update:currentPage="handlePageChange"
/>
</div>
</div>
</div>
</template>
<script setup>
import { getCurrentInstance, onMounted, ref } from 'vue';