From f6b5095eb1c2d20a4bd721bfe1e35eaf129aa069 Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Fri, 7 Nov 2025 09:51:12 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/urllink/index.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/widget/urllink/index.vue b/src/widget/urllink/index.vue index a62f3e3..9b0ccf2 100644 --- a/src/widget/urllink/index.vue +++ b/src/widget/urllink/index.vue @@ -11,6 +11,7 @@ import { import validate from '@/api/DesignForm/validate' import { FormItem, FormList } from '@/api/DesignForm/types' import Tooltips from '@/components/DesignForm/tooltip.vue' +import { AnalysisCss,AnalysisInputCss } from '@/components/DesignForm/public/form/calculate/cssInfo' import { nodePoweInfo,powerAryInfo } from "@/api/taskapi/types"; const props = withDefaults( defineProps<{ @@ -157,6 +158,17 @@ const openUrl = () => { onMounted(() => { // console.log("编码组件-url--》",props.data) }) + +const getFormItemLableStyle = (ele: any) => { + if(ele?.labelStyle){ + // console.log("返回栅格宽度3",AnalysisCss(ele?.labelStyle)) + return AnalysisCss(ele?.labelStyle) + } +} +//组件css部分 +const configStyle = computed(() => { + return props.data.styles || {} +}) const allNodePwoer = inject('flowNodePower') as any const currentNodePowerKey = inject('currentNodeKey') as any @@ -227,7 +239,8 @@ const judgeIsEdit = (key: string) => { v-if="judgeIsShow(data.name)" >
@@ -242,7 +255,11 @@ const judgeIsEdit = (key: string) => { + + + +