12345678910111213141516 |
- import { defineStore } from "pinia";
- export const useReportStore = props => {
- const { modalUuid } = props;
- if (!modalUuid || modalUuid === "") return false;
- return defineStore(`report-${modalUuid}`, {
- state: () => ({
- song: {}
- }),
- actions: {
- init({ song }) {
- this.song = song;
- }
- }
- })();
- };
|