เครื่องราช => ปรับการเรียกประเภทเครื่องราช

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-18 10:17:43 +07:00
parent 7041a9e050
commit 5a8f6d6434
9 changed files with 47 additions and 31 deletions

View file

@ -43,9 +43,10 @@ export const useResultDataStore = defineStore("insigniaResult", () => {
insigniaOp.value.push({
name: `${e.name} (${e.shortName})`,
id: e.id,
insigniaType: e.insigniaType.id,
insigniaType: e.insigniaTypeId,
});
});
data.forEach((e: any) => {
insigniaOp2.value.push({ name: `${e.name} (${e.shortName})`, id: e.id });
});