index-3565efa6.js 843 Bytes
var c=(r,a,t)=>new Promise((_,o)=>{var d=e=>{try{s(t.next(e))}catch(n){o(n)}},i=e=>{try{s(t.throw(e))}catch(n){o(n)}},s=e=>e.done?_(e.value):Promise.resolve(e.value).then(d,i);s((t=t.apply(r,a)).next())});import{d as p,a8 as l,_ as m,$ as u,f,aa as x,E as v,a0 as y}from"./vue-5a35c3f5.js";import{bF as h,_ as k}from"./index.js";import"./antd-6b087f69.js";const C={class:"request-box"},b=y("p",null,"打开浏览器的network面板,可以看到发出了六次请求",-1),w=p({__name:"index",setup(r){const a=()=>c(this,null,function*(){yield h()});return(t,_)=>{const o=l("a-button");return m(),u("div",C,[f(o,{onClick:a,type:"primary"},{default:x(()=>[v(" 点击会重新发起请求5次 ")]),_:1}),b])}}});const q=k(w,[["__file","E:/allcode/erp/test7901/order-erp-front/src/views/demo/feat/request-demo/index.vue"]]);export{q as default};