Files
zyt/server/public/admin/assets/index-6F6-BW-s.js
2026-08-05 14:06:07 +08:00

2 lines
1.2 KiB
JavaScript

import{o as p,q as s,r as l,v as a,D as n,Y as c,C as u,u as f,F as y,G as b,X as x,bg as g,M as v}from"./.pnpm-CJoARskO.js";import{a as C}from"./index-yt_wDMDM.js";import{_ as E}from"./index-DGIIeNfq.js";import"./index.vue_vue_type_script_setup_true_lang-CI_v6sRz.js";import"./index-Dxb7lLkm.js";import"./index-CMaTIYFB.js";import"./index-D30MriBb.js";import"./file-DApWCRJt.js";import"./index.vue_vue_type_script_setup_true_lang-rPwCQIWi.js";import"./usePaging-DKtm3XdH.js";const V={class:"material-index"},k=p({name:"material"}),z=p({...k,setup(T){const r=[{type:"image",name:"图片"},{type:"video",name:"视频"},{type:"file",name:"文件"}],t=v("image");return(h,o)=>{const m=C,_=x,i=c,d=g;return s(),l("div",V,[a(d,{class:"!border-none",shadow:"never"},{default:n(()=>[a(i,{modelValue:f(t),"onUpdate:modelValue":o[0]||(o[0]=e=>u(t)?t.value=e:null)},{default:n(()=>[(s(),l(y,null,b(r,e=>a(_,{label:e.name,name:e.type,index:e.type,key:e.type,lazy:""},{default:n(()=>[a(m,{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})])}}}),P=E(z,[["__scopeId","data-v-01f37926"]]);export{P as default};