import{az as p,d as C,b as E,c as a,e as F,f as y,g as m,h as o,i as t,u as l,m as _,E as A,_ as V}from"./index.0308b213.js";const k=()=>p.request({url:"adminapi/blog.blog_basic/getConfig"}),v=c=>p.request({url:"adminapi/blog.blog_basic/setConfig",method:"POST",data:c}),x={class:"area-config"},N={class:"config-form"},B=_("\u666E\u901A\u5217\u8868"),q=_("\u53CC\u6392\u7011\u5E03\u6D41"),D={class:"operation-btn"},I=_("\u63D0\u4EA4"),T=C({setup(c){const e=E({school_wall_way:0,random_nickName:""}),d=()=>{k().then(n=>{e.school_wall_way=n.school_wall_way||1,e.random_nickName=n.random_nickName||""})};d();const f=()=>{v(e).then(n=>{A.success("\u66F4\u65B0\u6210\u529F"),d()})};return(n,u)=>{const i=a("el-radio"),g=a("el-radio-group"),r=a("el-form-item"),b=a("el-input"),h=a("el-form"),w=a("el-button");return F(),y("div",x,[m("div",N,[o(h,{model:l(e),"label-width":"160px"},{default:t(()=>[o(r,{label:"\u663E\u793A\u6A21\u5F0F"},{default:t(()=>[o(g,{modelValue:l(e).school_wall_way,"onUpdate:modelValue":u[0]||(u[0]=s=>l(e).school_wall_way=s)},{default:t(()=>[o(i,{label:1},{default:t(()=>[B]),_:1}),o(i,{label:2},{default:t(()=>[q]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(r,{label:"\u81EA\u5B9A\u4E49\u6635\u79F0"},{default:t(()=>[o(b,{modelValue:l(e).random_nickName,"onUpdate:modelValue":u[1]||(u[1]=s=>l(e).random_nickName=s),type:"textarea",placeholder:"\u8BF7\u8F93\u5165\u81EA\u5B9A\u4E49\u6635\u79F0:\u6635\u79F01,\u6635\u79F02,\u6635\u79F03",rows:"10"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),m("div",D,[o(w,{type:"primary",onClick:f},{default:t(()=>[I]),_:1})])])}}});const z=V(T,[["__scopeId","data-v-20f35ac0"]]);export{z as default};
