finance-pay/public/mobile/assets/useLockFn.4d99e11c.js

2 lines
223 B
JavaScript
Raw Permalink Normal View History

2023-11-15 12:02:33 +08:00
import{z as a}from"./index.26a6cf84.js";function t(t){const c=a(!1);return{isLock:c,lockFn:async(...a)=>{if(!c.value){c.value=!0;try{const n=await t(...a);return c.value=!1,n}catch(n){throw c.value=!1,n}}}}}export{t as u};