Update VoteHomePage.vue
This commit is contained in:
1 parent
646484a3ae
commit
38f8e00918
1 file changed
+2
-1
@@ -99,13 +99,14 @@ import VoteConstructor from "@/components/vote/VoteConstructor.vue";
|
|||||||
import CurrentVote from "@/components/vote/CurrentVote.vue";
|
import CurrentVote from "@/components/vote/CurrentVote.vue";
|
||||||
import VoteCardVue from "@/components/vote/VoteCard.vue";
|
import VoteCardVue from "@/components/vote/VoteCard.vue";
|
||||||
import { useRoute, useRouter } from "vue-router";
|
import { useRoute, useRouter } from "vue-router";
|
||||||
|
import VoteResult from "@/components/vote/VoteResult.vue";
|
||||||
import { deleteVote, getVoteDetail, getVotes } from "@/utils/axios-api";
|
import { deleteVote, getVoteDetail, getVotes } from "@/utils/axios-api";
|
||||||
import { formatDate } from "@vueuse/shared";
|
import { formatDate } from "@vueuse/shared";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
methods: { formatDate },
|
methods: { formatDate },
|
||||||
|
|
||||||
components: { CurrentVote, VoteConstructor, VoteCardVue },
|
components: { CurrentVote, VoteConstructor, VoteCardVue, VoteResult },
|
||||||
setup() {
|
setup() {
|
||||||
const tabs=[
|
const tabs=[
|
||||||
{value:"active", text:'Текущие голосования'},
|
{value:"active", text:'Текущие голосования'},
|
||||||
|
|||||||
Reference in new issue
Block a user