From 64573c492f0496a9a9e75de7d9edf64cbde18ce0 Mon Sep 17 00:00:00 2001 From: oat Date: Tue, 30 Jan 2024 10:22:14 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=20note=E0=B8=AA=E0=B9=88=E0=B8=87=E0=B9=84=E0=B8=A1=E0=B9=88?= =?UTF-8?q?=E0=B9=84=E0=B8=9B,=E0=B9=81=E0=B8=AA=E0=B8=94=E0=B8=87?= =?UTF-8?q?=E0=B8=9C=E0=B8=A5=E0=B8=84=E0=B8=AD=E0=B8=A5=E0=B8=B1=E0=B8=A1?= =?UTF-8?q?=E0=B8=99=E0=B9=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../01_metadataNew/components/insignia/InsigniaList.vue | 9 ++------- .../interface/response/insignia/Insignia.ts | 1 + src/modules/01_metadataNew/stores/InsigniaStore.ts | 6 ++++-- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/modules/01_metadataNew/components/insignia/InsigniaList.vue b/src/modules/01_metadataNew/components/insignia/InsigniaList.vue index a77a1fe19..227ac7657 100644 --- a/src/modules/01_metadataNew/components/insignia/InsigniaList.vue +++ b/src/modules/01_metadataNew/components/insignia/InsigniaList.vue @@ -181,7 +181,6 @@ async function fetchData(id: string) { } onMounted(async () => { fetchData(id.value); - console.log(id.value); }); async function onSubmit() { @@ -207,7 +206,7 @@ async function addData() { name: name.value, isActive: isActive.value, shortName: shortName.value, - note: note.value == "" ? "-" : "", + note: note.value == "" ? "-" : note.value, insigniaTypeId: id.value, }); fetchData(id.value); @@ -218,7 +217,7 @@ async function editData(idData: string) { name: name.value, isActive: isActive.value, shortName: shortName.value, - note: note.value == "" ? "-" : "", + note: note.value == "" ? "-" : note.value, insigniaTypeId: id.value, }); fetchData(id.value); @@ -232,10 +231,6 @@ async function deleteData(idData: string) { import { defineEmits } from "vue"; const emit = defineEmits(["nameType"]); - -const nameType = () => { - emit("nameType", insigniaTypeId.value); -};