import{_ as C}from"./SingleImageUpload-CNx4b9eC.js";import{_ as v}from"./ImageUpload-DUsnro3W.js";import{d as U,cq as S,c$ as $,r as u,a as x,h as V,o as k,j as l,w as d,ds as c,l as n,W as w}from"./index-9PRMimni.js";import"./ImageUpload.vue_vue_type_style_index_0_scoped_cb086928_lang-D-28kXvw.js";import"./componentSetting-DVhNDBTO.js";import"./vuedraggable.umd-Co2xEC3p.js";const q=U({__name:"CommonTest",setup(j){const m=S(),g=$(),o=u([]),t=u("http://192.168.30.55:9000/public/20250317/8d902e9b420f4beb99d4b2b7fa18eb75.jpg"),{urlPrefix:i}=m,p=x({timestamp:new Date().getTime(),authorization:`${g.token}`});function _(e){console.log("uploadChange values",e),o.value=e}function f(e){console.log("singleUploadChange value",e),t.value=e}return(e,a)=>{const h=v,r=w,b=C;return k(),V("div",null,[l(r,{bordered:!1,class:"mt-3 proCard",title:"多图上传","content-style":"padding-top: 0;"},{default:d(()=>[l(h,{action:`${n(i)}/files`,headers:n(p),value:n(o),"onUpdate:value":a[0]||(a[0]=s=>c(o)?o.value=s:null),onUploadChange:_},null,8,["action","headers","value"])]),_:1}),l(r,{bordered:!1,class:"mt-3 proCard",title:"d单图上传","content-style":"padding-top: 0;"},{default:d(()=>[l(b,{action:`${n(i)}/files`,headers:n(p),singleValue:n(t),"onUpdate:singleValue":a[1]||(a[1]=s=>c(t)?t.value=s:null),onUploadChange:f},null,8,["action","headers","singleValue"])]),_:1})])}}});export{q as default};
