您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

hiddenAppForm.69aeed75.js 969B

1
  1. import y from"./applicationInfo.3e5b9937.js";import{d as _,r as t,L as h,e as w,f as A,h as F,N as L}from"./index.0b616ce3.js";import"./index.8c2e9fca.js";const N={style:{display:"none"}},k=_({name:"hiddenAppForm"}),P=Object.assign(k,{props:{applicationList:Array,isFirst:{type:Number,default:void 0}},setup(n,{expose:c}){const i=n,o=t(),r=t([]),s=t(0),l=t(),f=async e=>{l.value=!0,s.value=0;for(const a of i.applicationList)await u(a);setTimeout(async()=>{l.value=!1,e(s.value===i.applicationList.length)})},u=async e=>(r.value=JSON.parse(JSON.stringify(e)),await L(),new Promise((a,x)=>{const p=[];p.push(new Promise((d,m)=>{o.value.validForm(v=>{v?d():m(!1)})})),Promise.all([...p]).then(()=>{s.value++}).finally(()=>{a()})}));return h(()=>i.applicationList,()=>{},{immediate:!0,deep:!0}),c({validAllAppForm:f}),(e,a)=>(w(),A("div",N,[F(y,{ref_key:"applicationInfoRef",ref:o,data:r.value,"is-first":n.isFirst},null,8,["data","is-first"])]))}});export{P as default};