1 |
- import{A as r,b as n}from"./index-3c5e3fcc.js";import{U as p,V as c,W as i,j as m,X as _,G as l}from"./vue-f0dec34d.js";const d={style:{float:"right"}},b={__name:"index",props:{param:Object},setup(e){const a=e,o=async()=>{a.param.content.isExport=!0;const t=await r.requested(a.param);n.message(t,"导出成功",()=>{window.open(t.data[0].url?t.data[0].url:t.data,"_self"),a.param.content.isExport=!1})};return(t,u)=>{const s=p("a-button");return c(),i("div",d,[m(s,{type:"primary",onClick:o},{default:_(()=>[l("导出")]),_:1})])}}};export{b as _};
|