var v=Object.defineProperty;var n=Object.getOwnPropertySymbols;var B=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var r=(a,e,t)=>e in a?v(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,m=(a,e)=>{for(var t in e||(e={}))B.call(e,t)&&r(a,t,e[t]);if(n)for(var t of n(e))g.call(e,t)&&r(a,t,e[t]);return a};import{i as h,j as w}from"./setting.d8e1906e.js";import{M as E}from"./index.257b9e44.js";import{F as b}from"./index.f984bab9.js";import{d as A,q as V,a as s,b as x,c as U,f as o,w as l,F as y,e as i,m as D}from"./vendor.d574ef89.js";import"./index.b32171ca.js";import"./index.f84801a7.js";import"./index.a44de264.js";const k=i("span",null," \u57FA\u672C\u8BBE\u7F6E ",-1),N=i("div",{class:"muted"},"\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A400*400\uFF0C\u652F\u6301jpg\u3001png\u683C\u5F0F",-1),S=D("\u4FDD\u5B58"),J=A({setup(a){const e=V({default_avatar:"",wechat:""}),t=async()=>{e.value=await h()},d=async()=>{await w(m({},e.value)),t()},c=()=>{d()};return t(),(j,u)=>{const _=s("el-form-item"),f=s("el-form"),p=s("el-card"),F=s("el-button");return x(),U(y,null,[o(p,{shadow:"never",class:"m-t-16"},{header:l(()=>[k]),default:l(()=>[o(f,{ref:"formRef",model:e.value,"label-width":"100px",size:"small"},{default:l(()=>[o(_,{label:"\u7528\u6237\u9ED8\u8BA4\u5934\u50CF",prop:"default_avatar"},{default:l(()=>[o(E,{modelValue:e.value.default_avatar,"onUpdate:modelValue":u[0]||(u[0]=C=>e.value.default_avatar=C),limit:1},null,8,["modelValue"]),N]),_:1})]),_:1},8,["model"])]),_:1}),o(b,null,{default:l(()=>[o(F,{type:"primary",size:"small",onClick:c},{default:l(()=>[S]),_:1})]),_:1})],64)}}});export{J as default};
