12 lines
243 B
TypeScript
12 lines
243 B
TypeScript
import { ref, computed, reactive } from "vue";
|
|
|
|
import { defineStore } from "pinia";
|
|
|
|
export const knowledgeStore = defineStore("knowledge", {
|
|
state: () => ({
|
|
cardList: ref<any[]>([]),
|
|
total: ref<number>(0),
|
|
}),
|
|
actions: {},
|
|
});
|