index-b50687f8.js
1.67 KB
import{d as c,a8 as n,_ as p,a9 as m,aa as u,f as s}from"./vue-5a35c3f5.js";import{D as d}from"./index-37bee0a2.js";import{P as f}from"./index-f532aa07.js";import{u as l}from"./useDescription-89c77341.js";import{_ as g}from"./index.js";import"./antd-6b087f69.js";import"./useContentViewHeight-d0a5c58e.js";import"./useWindowSizeFn-cc2fb57c.js";import"./onMountedOrActivated-52afb7a7.js";const r={username:"test",nickName:"VB",age:"123",phone:"15695909xxx",email:"190848757@qq.com",addr:"厦门市思明区",sex:"男",certy:"3504256199xxxxxxxxx",tag:"orange"},o=[{field:"username",label:"用户名"},{field:"nickName",label:"昵称",render:(e,a)=>`${a.username}-${e}`},{field:"phone",label:"联系电话"},{field:"email",label:"邮箱"},{field:"addr",label:"地址"}],h=c({components:{Description:d,PageWrapper:f},setup(){const[e]=l({title:"useDescription",data:r,schema:o}),[a]=l({title:"无边框",bordered:!1,data:r,schema:o});return{mockData:r,schema:o,register:e,register1:a}}});function x(e,a,_,D,k,B){const t=n("Description"),i=n("PageWrapper");return p(),m(i,{title:"详情组件示例"},{default:u(()=>[s(t,{title:"基础示例",collapseOptions:{canExpand:!0,helpMessage:"help me"},column:3,data:e.mockData,schema:e.schema},null,8,["data","schema"]),s(t,{class:"mt-4",title:"垂直示例",layout:"vertical",collapseOptions:{canExpand:!0,helpMessage:"help me"},column:2,data:e.mockData,schema:e.schema},null,8,["data","schema"]),s(t,{onRegister:e.register,class:"mt-4"},null,8,["onRegister"]),s(t,{onRegister:e.register1,class:"mt-4"},null,8,["onRegister"])]),_:1})}const N=g(h,[["render",x],["__file","E:/allcode/erp/test7901/order-erp-front/src/views/demo/comp/desc/index.vue"]]);export{N as default};