From c04ebf4d5598d4a19545db7f2b22704d3de29bd6 Mon Sep 17 00:00:00 2001 From: oat_dev Date: Wed, 13 Mar 2024 13:13:49 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4:=20=E0=B8=84=E0=B8=A5=E0=B8=B4=E0=B8=81?= =?UTF-8?q?=E0=B9=80=E0=B8=9B=E0=B8=A5=E0=B8=B5=E0=B9=88=E0=B8=A2=E0=B8=99?= =?UTF-8?q?=E0=B9=82=E0=B8=9B=E0=B8=A3=E0=B9=84=E0=B8=9F=E0=B8=A5=E0=B9=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/04_registryNew/views/detailView.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/modules/04_registryNew/views/detailView.vue b/src/modules/04_registryNew/views/detailView.vue index 68469e058..468b62b05 100644 --- a/src/modules/04_registryNew/views/detailView.vue +++ b/src/modules/04_registryNew/views/detailView.vue @@ -39,6 +39,12 @@ const itemsMenu = ref([ name: "อื่นๆ", }, ]); +const input = document.createElement("input"); +input.type = "file"; + +function selectFile() { + input.click(); +} function fetchDataPersonal() { const data = { @@ -148,7 +154,9 @@ onMounted(() => { text-color="primary" icon="mdi-pencil-outline" style="position: absolute; bottom: 0; right: 0" - /> + @click="selectFile" + > +