ปรับชื่อ defineStore ระบบ วินัย

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-10-18 10:09:11 +07:00
parent 074fc05412
commit 7c0284a87a
7 changed files with 42 additions and 13 deletions

View file

@ -1,7 +1,7 @@
import { defineStore } from "pinia";
import { ref } from "vue";
export const useOrderStore = defineStore("order", () => {
export const useOrderStore = defineStore("DisciplineOrder", () => {
const rows = ref<any>([])
async function fecthOrder(data: any) {
let datalist = data.map((e: any) => ({