fix
This commit is contained in:
parent
b0b077b1d4
commit
0d5db9160e
7 changed files with 30 additions and 68 deletions
|
|
@ -48,6 +48,7 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
* @param data ข้อมูลรายชื่อข้าราชการสามัญ
|
||||
*/
|
||||
async function fetchData(data: any) {
|
||||
|
||||
if (data !== null) {
|
||||
let datalist = await data.map((e: any) => ({
|
||||
id: e.id,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@ import type {
|
|||
|
||||
/** import Stores */
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
/** useStore*/
|
||||
|
||||
/** use*/
|
||||
const mixin = useCounterMixin();
|
||||
const { date2Thai } = mixin;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue