UNPKG

qmw-form-design

Version:

表单设计器

2 lines (1 loc) 572 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l={__name:"labelWidget",props:{widget:{type:Object,default:()=>({})},style:{type:Object,default:()=>({})}},setup(t){return e.onMounted(()=>{}),(n,i)=>t.widget.config.textType=="single"?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(t.style)},e.toDisplayString(t.widget.config.textValue),5)):(e.openBlock(),e.createElementBlock("pre",{key:1,style:e.normalizeStyle(t.style)},e.toDisplayString(t.widget.config.textValue),5))}};exports.default=l;