

<script>
/* eslint-disable */
// sd-skip-auto-import
import SdQuillEditor from"@/common/components/sd-quill-editor.vue";import components from"./_import-components/sd-description-import";export const metaInfo={caption:"文本",icon:"font-size",order:1500,excludeFormTypes:[0,2,3],hiddenProps:["description","readonly","required","name","caption","mobileVisible","formula"],category:"basic",deprecated:true};export const fieldProps={dataType:"string",caption:"-文本标签-",attrFD:{hideLabel:true,description:"这里是一段文本"},readonly:true,mobileVisible:false};var _render=function e(){var t=this,o=t._self._c;return o("div",[o("a-form-model-item",[o("a-button",{attrs:{slot:"label",type:"link",icon:"sd-notebook"},on:{click:function(e){t.showDescription=true}},slot:"label"},[t._v(" 文本内容 ")])],1),o("a-modal",{attrs:{footer:null,width:"800px",title:"文本内容"},model:{value:t.showDescription,callback:function(e){t.showDescription=e},expression:"showDescription"}},[o("sd-quill-editor",{attrs:{options:{placeholder:"可在字段中添加备注说明，帮助用户理解业务"}},model:{value:t.component.attrFD.description,callback:function(e){t.$set(t.component.attrFD,"description",e)},expression:"component.attrFD.description"}})],1)],1)};var staticRenderFns=[];_render._withStripped=true;export default{name:"SdDescription",components:{...components,"sd-quill-editor":SdQuillEditor},data(){return{showDescription:false}},methods:{},render:_render,staticRenderFns:staticRenderFns};</script>

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