1 |
- import{g as r,s as c}from"./index.2278c9bc.js";import{d as f,b as g,c as p,e as F,f as V,h as t,i as s,g as b,u as o,F as E,m as B,E as x,_ as y}from"./index.76214426.js";const A=B("\u4FDD\u5B58\u4FEE\u6539"),C={class:"form"},v=f({setup(S){const e=g({title:"",app_id:"",app_secret:""});(()=>{r().then(l=>{e.title=l.pay_miniProgram_setting.title,e.app_id=l.pay_miniProgram_setting.app_id,e.app_secret=l.pay_miniProgram_setting.app_secret})})();const i=()=>{c(e).then(l=>{x.success("\u66F4\u65B0\u6570\u636E\u6210\u529F")})};return(l,a)=>{const m=p("el-button"),u=p("el-input"),_=p("el-form-item"),d=p("el-form");return F(),V(E,null,[t(m,{type:"primary",onClick:i},{default:s(()=>[A]),_:1}),b("div",C,[t(d,{model:o(e),"label-width":"140px"},{default:s(()=>[t(_,{label:"\u5C0F\u7A0B\u5E8F\u540D\u79F0"},{default:s(()=>[t(u,{modelValue:o(e).title,"onUpdate:modelValue":a[0]||(a[0]=n=>o(e).title=n)},null,8,["modelValue"])]),_:1}),t(_,{label:"\u5C0F\u7A0B\u5E8FAppId"},{default:s(()=>[t(u,{modelValue:o(e).app_id,"onUpdate:modelValue":a[1]||(a[1]=n=>o(e).app_id=n)},null,8,["modelValue"])]),_:1}),t(_,{label:"\u5C0F\u7A0B\u5E8FAppSecret"},{default:s(()=>[t(u,{modelValue:o(e).app_secret,"onUpdate:modelValue":a[2]||(a[2]=n=>o(e).app_secret=n)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])])],64)}}});const P=y(v,[["__scopeId","data-v-fa01cb24"]]);export{P as default};
|