code-origin/server/public/admin/assets/upload.b931a318.js

2 lines
2.4 KiB
JavaScript
Raw Normal View History

2023-11-08 17:59:25 +08:00
import{w as _,I as c}from"./element-plus.317dd699.js";import{U as m}from"./index.8721dbdb.js";import{d as l,o as d,c as f,U as o,L as t,a as e,S as a}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f7363e4f.js";import"./axios.3af9fe4b.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.ffa405f0.js";import"./lodash.873faf2b.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.1a2c9cae.js";import"./color.3050aad5.js";import"./clone.3b081931.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.21f7a9fd.js";import"./ms.a9ae1d6d.js";import"./nprogress.fd69c5bf.js";import"./vue-clipboard3.9796a14d.js";import"./clipboard.2bdac801.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const h={class:"flex flex-wrap"},F={class:"m-4"},E=a("\u4E0A\u4F20\u56FE\u7247"),y={class:"m-4"},A=a("\u4E0A\u4F20\u89C6\u9891"),g={class:"m-4"},w=a("\u53D6\u6D88\u591A\u9009"),v={class:"m-4"},x=a("\u4E00\u6B21\u6700\u591A\u4E0A\u4F202\u5F20"),mo=l({__name:"upload",setup(B){const s=r=>{console.log("\u4E0A\u4F20\u6587\u4EF6\u7684\u72B6\u6001\u53D1\u751F\u6539\u53D8",r)},u=r=>{console.log("\u4E0A\u4F20\u6587\u4EF6\u6210\u529F",r)},i=r=>{console.log("\u4E0A\u4F20\u6587\u4EF6\u5931\u8D25",r)};return(r,C)=>{const p=_,n=c;return d(),f("div",null,[o(n,{header:"\u57FA\u7840\u4F7F\u7528",shadow:"none",class:"!border-none"},{default:t(()=>[e("div",h,[e("div",F,[o(m,{onChange:s,onSuccess:u,onError:i,"show-progress":!0},{default:t(()=>[o(p,{type:"primary"},{default:t(()=>[E]),_:1})]),_:1})]),e("div",y,[o(m,{type:"video",onChange:s,onSuccess:u,onError:i,"show-progress":!0},{default:t(()=>[o(p,{type:"primary"},{default:t(()=>[A]),_:1})]),_:1})]),e("div",g,[o(m,{multiple:!1,onChange:s,onSuccess:u,onError:i,"show-progress":!0},{default:t(()=>[o(p,{type:"primary"},{default:t(()=>[w]),_:1})]),_:1})]),e("div",v,[o(m,{limit:2,onChange:s,onSuccess:u,onError:i,"show-progress":!0},{default:t(()=>[o(p,{type:"primary"},{default:t(()=>[x]),_:1})]),_:1})])])]),_:1})])}}});export{mo as default};