From bf1ac784ee5bf51a907eb3b61de92dd55c3049e2 Mon Sep 17 00:00:00 2001 From: sige Date: Mon, 29 Jul 2024 14:10:51 +0800 Subject: [PATCH] 1 --- src/components/ServiceConfigurationParamValueObjectEdit.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/ServiceConfigurationParamValueObjectEdit.vue b/src/components/ServiceConfigurationParamValueObjectEdit.vue index d2b2fca..b7eb136 100644 --- a/src/components/ServiceConfigurationParamValueObjectEdit.vue +++ b/src/components/ServiceConfigurationParamValueObjectEdit.vue @@ -15,6 +15,12 @@ size="small" class="w-full !border-none" v-model:value="record.value" > + + + @@ -46,12 +52,14 @@ onMounted(mounted); // on mounted async function mounted() { - tableData.value = await setupTableData(props.structClassName); + let structClassName = props.structClassName; + tableData.value = await setupTableData(structClassName); } // setup tree data async function setupTableData(structClassName, path=[]) { - let baseTypes = ['java.lang.Integer']; + console.log(`setup for : ${0===path.length ? '' : path.join('.')+'.'}${structClassName}`); + let baseTypes = ['java.lang.Integer','java.lang.Double']; let client = ApiClient.getClient(); try {