코드수정정

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

View File

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