

<script>
/* eslint-disable */
// sd-skip-auto-import
import asyncComponent from"@/common/services/async-component";import formulas from"../formula";import components from"./_import-components/sd-link-import";export const metaInfo={caption:"链接",icon:"sd-wire",order:1900,hiddenProps:["readonly","required","name","caption","description"],category:"basic",component:{props:["designerData"],render(){const t=arguments[0];return t("a",{attrs:{href:""}},[this.designerData.attrFD.formItemProps.inputProps.caption])}},excludeFormTypes:[3]};export const fieldProps={dataType:"string",caption:"链接",attrFD:{formItemProps:{inputProps:{caption:"链接"}},transient:true,hideLabel:true},readonly:true};var _render=function t(){var o=this,e=o._self._c;return e("div",[e("a-form-model-item",{attrs:{label:"标签"}},[e("a-input",{model:{value:o.component.attrFD.formItemProps.inputProps.caption,callback:function(t){o.$set(o.component.attrFD.formItemProps.inputProps,"caption","string"===typeof t?t.trim():t)},expression:"component.attrFD.formItemProps.inputProps.caption"}})],1),e("a-form-model-item",[e("sd-complex-label",{attrs:{slot:"label"},slot:"label"},[o._v(" 计算公式 ")]),e(o.sdformula,{tag:"component",attrs:{fields:o.componentInstances.filter((t=>t.name!==o.component.name)),"data-type":"string",formulas:o.formulas},on:{update:t=>{o.$set(o.component.attrFD.formItemProps.inputProps,"formulaData",t)}},model:{value:o.component.attrFD.formulaObject,callback:function(t){o.$set(o.component.attrFD,"formulaObject",t)},expression:"component.attrFD.formulaObject"}})],1)],1)};var staticRenderFns=[];_render._withStripped=true;export default{name:"SdLink",components:components,data(){return{sdformula:asyncComponent((()=>import(/* webpackChunkName: "sd-formula" */"../sd-formula.vue"))),formulas:[]}},created(){formulas().then((t=>{this.formulas=t}))},methods:{},render:_render,staticRenderFns:staticRenderFns};</script>

<style module lang="scss">
@use '@/common/design' as *;
</style>
