setting.802e0686.js 1.8 KB

1
  1. import{A as b,c as A}from"./setting.6151b711.js";import{d as B,b as F,c as i,e as V,f as g,g as _,h as t,i as s,u as o,m as C,E,R as v,S as w,_ as S}from"./index.0308b213.js";const p=n=>(v("data-v-f954b7ca"),n=n(),w(),n),x={class:"setting-form"},D={class:"operation-btn"},h=C("\u63D0\u4EA4"),y=p(()=>_("div",{class:"tn-form-item__tips"},"\u624B\u673A\u53F7\u5C06\u4F5C\u4E3A\u540E\u53F0\u767B\u5F55\u8D26\u53F7",-1)),I=p(()=>_("div",{class:"tn-form-item__tips"},"\u8BF7\u586B\u5199\u5BC6\u7801\uFF0C\u6700\u5C0F\u957F\u5EA6\u4E3A 6 \u4E2A\u5B57\u7B26\u3002\u5982\u679C\u4E0D\u66F4\u6539\u5BC6\u7801\u6B64\u5904\u8BF7\u7559\u7A7A",-1)),U=B({setup(n){const e=F({title:"",realname:"",password:"",mobile:""});(()=>{b().then(l=>{e.title=l.title,e.mobile=l.mobile,e.realname=l.realname,e.password=l.password})})();const r=()=>{A(e).then(l=>{E.success(l.msg)})};return(l,u)=>{const c=i("el-button"),d=i("el-input"),m=i("el-form-item"),f=i("el-form");return V(),g("div",x,[_("div",D,[t(c,{type:"primary",onClick:r},{default:s(()=>[h]),_:1})]),t(f,{model:o(e),"label-width":"100px"},{default:s(()=>[t(m,{label:"\u540D\u79F0"},{default:s(()=>[t(d,{modelValue:o(e).title,"onUpdate:modelValue":u[0]||(u[0]=a=>o(e).title=a)},null,8,["modelValue"])]),_:1}),t(m,{label:"\u771F\u5B9E\u59D3\u540D"},{default:s(()=>[t(d,{modelValue:o(e).realname,"onUpdate:modelValue":u[1]||(u[1]=a=>o(e).realname=a)},null,8,["modelValue"])]),_:1}),t(m,{label:"\u624B\u673A\u53F7"},{default:s(()=>[t(d,{modelValue:o(e).mobile,"onUpdate:modelValue":u[2]||(u[2]=a=>o(e).mobile=a)},null,8,["modelValue"]),y]),_:1}),t(m,{label:"\u5BC6\u7801"},{default:s(()=>[t(d,{modelValue:o(e).password,"onUpdate:modelValue":u[3]||(u[3]=a=>o(e).password=a),type:"password"},null,8,["modelValue"]),I]),_:1})]),_:1},8,["model"])])}}});const P=S(U,[["__scopeId","data-v-f954b7ca"]]);export{P as default};