import{d as p,e as f}from"./setting.644fa418.js";import{M as F}from"./index.dfdc0704.js";import{F as C}from"./index.d8717905.js";import{d as v,r as B,c as o,e as g,f as h,h as e,i as t,F as E,g as u,m as w}from"./index.0308b213.js";import"./index.vue_vue_type_style_index_0_scoped_f00ed21d_lang.2c48f49b.js";import"./vuedraggable.umd.405b1bec.js";import"./index.35b8c9ab.js";import"./index.9e8820cd.js";import"./sort_out.2008c10d.js";const A=u("span",null," \u57FA\u672C\u8BBE\u7F6E ",-1),V=u("div",{class:"muted"},"\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A400*400\uFF0C\u652F\u6301jpg\u3001png\u683C\u5F0F",-1),b=w("\u4FDD\u5B58"),R=v({setup(x){const a=B({default_avatar:"",wechat:""}),l=async()=>{a.value=await p()},n=async()=>{await f({...a.value}),l()},r=()=>{n()};return l(),(U,s)=>{const m=o("el-form-item"),i=o("el-form"),d=o("el-card"),c=o("el-button");return g(),h(E,null,[e(d,{shadow:"never",class:"m-t-16"},{header:t(()=>[A]),default:t(()=>[e(i,{ref:"formRef",model:a.value,"label-width":"100px",size:"small"},{default:t(()=>[e(m,{label:"\u7528\u6237\u9ED8\u8BA4\u5934\u50CF",prop:"default_avatar"},{default:t(()=>[e(F,{modelValue:a.value.default_avatar,"onUpdate:modelValue":s[0]||(s[0]=_=>a.value.default_avatar=_),limit:1},null,8,["modelValue"]),V]),_:1})]),_:1},8,["model"])]),_:1}),e(C,null,{default:t(()=>[e(c,{type:"primary",size:"small",onClick:r},{default:t(()=>[b]),_:1})]),_:1})],64)}}});export{R as default};
