

<script>
/* eslint-disable */
// sd-skip-auto-import
import components from"./_import-components/sd-non-flow-render-import";var _render=function r(){var t=this,e=t._self._c;return e("sd-form",{ref:"form",class:t.$style.form,attrs:{"init-values":t.fields,"form-relations":t.sdGet(t.formData,"pageFormData.attr?.formRelations")}},[e("sd-form-by-builder",{attrs:{"form-data":t.formData.pageFormData}})],1)};var staticRenderFns=[];_render._withStripped=true;export default{name:"SdNonFlowRender",components:components,props:{fields:{type:Array,required:true},formProps:{type:Object,required:true}},data(){return{}},computed:{formData(){return{pageTitle:this.formProps.tableTxt,pageFormData:{pageFieldInfos:this.fields,attrFD:this.formProps.attrFD,attr:this.formProps.attr}}}},methods:{validateFields(){return this.$refs.form.validateFields()}},render:_render,staticRenderFns:staticRenderFns};</script>

<style module lang="scss">
@use '@/common/design' as *;
.form {
  // 预览时禁止上传文件
  [class*='sd-attachment'] {
    pointer-events: none;
  }
}
</style>
