Update VoteHomePage.vue

This commit is contained in:
Nukeap committed 2025-01-20 13:06:51 +03:00
1 parent d11d826684
commit 62e4648261
1 file changed
+10 -1
+10 -1
View File
@@ -75,6 +75,7 @@
<v-card-title>Результаты голосования: {{ selectedVoting?.title }}</v-card-title>
<v-card-text>
<p>Здесь отображаются результаты голосования...</p>
</v-card-text>
<v-card-actions>
<v-btn @click="closeModal">Закрыть</v-btn>
@@ -112,6 +113,14 @@ export default {
{value:"constructor", text:'Создать новое голосование'},
]
const testResults = [
{name: 'Дональд Трамп', votes: 99},
{name: 'Иван Иванов', votes: 30},
{name: 'Аркадий Упукник', votes: 95},
];
const currentTab = ref("active");
const votes = ref([]);
const router = useRouter();
@@ -211,7 +220,7 @@ export default {
currentTab,
votes,
sortedVotes,
testResults,
voteModal,
editVoteModal,
resultsModal,