1 |
- import{a8 as l}from"./index-ab0329a3.js";let t=null;function u(s){t&&t.close(),t=l({...s})}function n(s,a,c,m,g){let e;try{e=s.msg[0].success+""=="true"||s.msg[0].Rows[0].status+""=="success"}catch{e=!1}let o="操作成功",r="操作失败2";try{o=m||s.msg[0].error||s.message||"操作成功"}catch{}try{r=g||s.msg[0].error||s.message||"操作失败"}catch{}u({message:e?o:r,type:e?"success":"error"}),e&&a&&a(),!e&&c&&c()}export{n as h,u as s};
|