index.e25db4d1.js 1.1 KB

1234
  1. import{d as m,bs as p,o as a,A as u,x as t,f as d,h as l,a0 as c,c as b,F as f,y as C,a1 as _,H as E,G as v,a as x,ac as y,bt as F,_ as T}from"./index.js";const h=m({__name:"index",props:{visible:{type:Boolean,required:!0},importColumns:{type:Array,required:!0},columns:{type:Array,required:!0}},setup(n){const o=p(n,"visible");return(r,s)=>(a(),u(l(F),{modelValue:l(o),"onUpdate:modelValue":s[0]||(s[0]=e=>y(o)?o.value=e:null),title:"\u5BFC\u5165\u6A21\u677F\u4E0D\u4E00\u81F4",center:""},{default:t(()=>[d(l(c),{size:"small",border:"",data:[{}]},{default:t(()=>[(a(!0),b(f,null,C(r.columns,(e,i)=>(a(),u(l(_),{label:e,"min-width":20+e.length*15+"px","show-overflow-tooltip":""},{default:t(w=>[E(v(r.importColumns[i]),1)]),_:2},1032,["label","min-width"]))),256))]),_:1}),x(` <p>\u5F53\u524D\u5BFC\u5165\u6A21\u677F:</p>\r
  2. <ElTable size="small" border>\r
  3. <ElTableColumn v-for="column in importColumns" :label="column" :min-width="20 + (column.length * 15) + 'px'" />\r
  4. </ElTable> `)]),_:1},8,["modelValue"]))}});var g=T(h,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/components/importTableColumn/index.vue"]]);export{g as I};