提交其他文件

This commit is contained in:
2026-03-14 16:20:49 +08:00
parent a227deaecd
commit 0a19b334f8
1385 changed files with 73568 additions and 0 deletions

View File

@ -0,0 +1 @@
var c=(s,u,a)=>new Promise((r,t)=>{var n=e=>{try{i(a.next(e))}catch(f){t(f)}},l=e=>{try{i(a.throw(e))}catch(f){t(f)}},i=e=>e.done?r(e.value):Promise.resolve(e.value).then(n,l);i((a=a.apply(s,u)).next())});import{r as o}from"./index-B-O76M86.js";function d(s,u={immediate:!1}){const a=o(!1),r=o(!1),t=o(u.initialData),n=()=>c(this,null,function*(){return a.value=!0,s().then(l=>(t.value=l.data,r.value=!1,t.value)).catch(l=>{throw r.value=l,l}).finally(()=>{a.value=!1})});return u.immediate&&n(),{loading:a,error:r,data:t,run:n}}export{d as u};