index-C04oIYTc.js 1.6 KB

1
  1. import{d as m,i as c,a as p,o as r,m as t,w as o,eV as u,J as f,e as b,F as y,r as x,eW as g,x as v}from"./index-DxXX42ml.js";import{E}from"./el-card-335zwNEm.js";import{a as V}from"./index-CpFlLF3z.js";import"./index.vue_vue_type_script_setup_true_lang-fZA1F8qh.js";import"./el-tag-BbPp_kf6.js";import"./_Uint8Array-DIKuShd7.js";import"./isEqual-CSVjcqMI.js";import"./el-select-BmEit5oM.js";import"./index-BCy9SLE4.js";import"./token-DI9FKtlJ.js";import"./el-table-column-DbUSvFhQ.js";import"./_initCloneObject-CuLVU9cJ.js";import"./el-checkbox-Dti5WtJg.js";import"./index-CKtWoWaU.js";import"./index-DepgO_ie.js";import"./index-BexzfmiG.js";import"./index-BEtJkKL6.js";import"./_baseClone-Cqbnd9pA.js";import"./el-text-sbBf1WBO.js";import"./index.vue_vue_type_script_setup_true_lang-BjWaPLpy.js";import"./el-popover-DNMWbUFV.js";import"./usePaging-BOztWp2b.js";const k={class:"material-index"},w=m({name:"material"}),z=m({...w,setup(C){const s=[{type:"image",name:"图片"},{type:"video",name:"视频"},{type:"file",name:"文件"}],a=c("image");return(T,n)=>{const i=V,l=g,_=u,d=E;return r(),p("div",k,[t(d,{class:"!border-none",shadow:"never"},{default:o(()=>[t(_,{modelValue:b(a),"onUpdate:modelValue":n[0]||(n[0]=e=>f(a)?a.value=e:null)},{default:o(()=>[(r(),p(y,null,x(s,e=>t(l,{label:e.name,name:e.type,index:e.type,key:e.type,lazy:""},{default:o(()=>[t(i,{type:e.type,mode:"page","file-size":"120px",limit:-1,"page-size":20},null,8,["type"])]),_:2},1032,["label","name","index"])),64))]),_:1},8,["modelValue"])]),_:1})])}}}),X=v(z,[["__scopeId","data-v-f2b7db3b"]]);export{X as default};