import{aY as t,V as r}from"./index-DYAbESGb.js";const n=async(e,o)=>{try{const s=await t.serverPost("/api/v1/config/new/save",{type:e,data:o});r.success(s)}catch(s){const a=s instanceof Error?s.message:"未知错误";r.error(a),console.error("保存配置出错:",s)}};export{n as s};
