You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
259 B

1 week ago
  1. import { apiGetVote } from "@/apis/vote";
  2. import { defineStore } from "pinia";
  3. export const useVoteStore = defineStore('Vote',()=>{
  4. const getVote = async(articleId) =>{
  5. return await apiGetVote(articleId)
  6. }
  7. return{
  8. getVote
  9. }
  10. })