index-DRsLymve.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,eY as u,N as f,e as b,F as y,r as x,eZ as g,x as v}from"./index-VgExUtlc.js";import{E}from"./el-card-CxosquUc.js";import{a as V}from"./index-BAjVjQ0M.js";import"./index.vue_vue_type_script_setup_true_lang-B8qxqZjW.js";import"./el-tag-BXE8Yua-.js";import"./_Uint8Array-CBlQ-nKr.js";import"./isEqual-DruNMyjC.js";import"./el-select-BvYk_j1n.js";import"./index-DIWKAYNL.js";import"./token-DI9FKtlJ.js";import"./el-table-column-oJbuOCEi.js";import"./_initCloneObject-cx0ZGSEK.js";import"./el-checkbox-BVoYWbHd.js";import"./index-qgnx-J01.js";import"./index-tS-Bi6_x.js";import"./index-Db1yZWW6.js";import"./index-xAx-nJVT.js";import"./_baseClone-CXm3th5X.js";import"./el-text-DAeYvMBn.js";import"./index.vue_vue_type_script_setup_true_lang-BjZ88BA_.js";import"./el-popover-6Urb7eTG.js";import"./usePaging-BtC2i2OV.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})])}}}),S=v(z,[["__scopeId","data-v-f2b7db3b"]]);export{S as default};