Files
zyt/server/public/admin/assets/index-wduVse7_.js
T
2026-09-28 14:13:15 +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,bh as v,M as g}from"./.pnpm-BuKxIMgQ.js";import{a as C}from"./index-DO2zctlZ.js";import{_ as E}from"./index-BZAvl557.js";import"./index.vue_vue_type_script_setup_true_lang-CSfv3pIy.js";import"./index-BYpT7Ezr.js";import"./index-BARAiw4K.js";import"./index-CzMLdmwb.js";import"./file-4O37R3TG.js";import"./index.vue_vue_type_script_setup_true_lang-CMJ6A--A.js";import"./usePaging-DNtxCypz.js";const V={class:"material-index"},h=p({name:"material"}),k=p({...h,setup(z){const r=[{type:"image",name:"图片"},{type:"video",name:"视频"},{type:"file",name:"文件"}],t=g("image");return(T,o)=>{const m=C,_=x,i=c,d=v;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(k,[["__scopeId","data-v-01f37926"]]);export{P as default};