From 62bb085b8b6c4a25045c0bb47aa36c236429bd21 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Fri, 20 Sep 2024 21:38:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=B5=8C=E5=85=A5=E7=AC=AC?= =?UTF-8?q?=E4=B8=89=E6=96=B9=E5=A2=9E=E5=8A=A0url=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/EmbedDialog.vue | 41 ++++++++++++++++++- ui/src/views/application-overview/index.vue | 2 +- 2 files changed, 40 insertions(+), 3 deletions(-) diff --git a/ui/src/views/application-overview/component/EmbedDialog.vue b/ui/src/views/application-overview/component/EmbedDialog.vue index 2bf5b250a..74c613558 100644 --- a/ui/src/views/application-overview/component/EmbedDialog.vue +++ b/ui/src/views/application-overview/component/EmbedDialog.vue @@ -58,6 +58,10 @@ import useStore from '@/stores' const { application } = useStore() +const props = defineProps({ + data: Object +}) + const emit = defineEmits(['addData']) const dialogVisible = ref(false) @@ -66,6 +70,8 @@ const source1 = ref('') const source2 = ref('') +const apiInputParams = ref({}) + watch(dialogVisible, (bool) => { if (!bool) { source1.value = '' @@ -75,7 +81,7 @@ watch(dialogVisible, (bool) => { const open = (val: string) => { source1.value = `