mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-19 13:52:48 +00:00
2 lines
1.2 KiB
JavaScript
2 lines
1.2 KiB
JavaScript
import{d as _,k as a,h as u,c as f,a as r,t as x,u as t,e as s,w as n,b as h,D as b,G as v,H as w}from"./index-a59af0dd.js";/* empty css */import"./el-form-item-4ed993c7.js";/* empty css */import{u as g}from"./poster-ba3e32ef.js";const S={class:"content-wrap"},y={class:"edit-attr-item-wrap"},C={class:"mb-[10px]"},V=_({__name:"edit-text",setup(E,{expose:m}){const o=g();return o.editComponent.verify=l=>{const e={code:!0,message:""};return o.value[l].value==""&&(e.code=!1,e.message=a("textPlaceholder")),e},m({}),(l,e)=>{const d=b,i=v,c=w;return u(),f("div",S,[r("div",y,[r("h3",C,x(t(a)("textSet")),1),s(c,{"label-width":"80px",class:"px-[10px]"},{default:n(()=>[s(i,{label:t(a)("textLabel")},{default:n(()=>[s(d,{modelValue:t(o).editComponent.value,"onUpdate:modelValue":e[0]||(e[0]=p=>t(o).editComponent.value=p),modelModifiers:{trim:!0},type:"textarea",rows:"4",placeholder:t(a)("textPlaceholder"),clearable:"",maxlength:"50","show-word-limit":""},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),_:1})]),h(l.$slots,"common")])}}}),F=Object.freeze(Object.defineProperty({__proto__:null,default:V},Symbol.toStringTag,{value:"Module"}));export{F as _};
|