(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0a4993"],{"06b9":function(t,a,e){"use strict";e.r(a);var o,n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-container",[e("v-form",{directives:[{name:"loading",rawName:"v-loading",value:t.tload,expression:"tload"}],staticStyle:{"max-width":"600px",margin:"auto"}},[e("v-text-field",{attrs:{label:"小程序APPID"},model:{value:t.formData.appid,callback:function(a){t.$set(t.formData,"appid",a)},expression:"formData.appid"}}),e("v-text-field",{staticClass:"mt-3",attrs:{label:"小程序APP SECRET"},model:{value:t.formData.app_secert,callback:function(a){t.$set(t.formData,"app_secert",a)},expression:"formData.app_secert"}}),e("v-btn",{staticClass:"mt-3 dark",attrs:{loading:t.tload},on:{click:function(a){return t.submit()}}},[t._v("保存")])],1)],1)},i=[],s={props:{load:{type:Boolean,default:!1}},data:function(){return{formData:{appid:"",app_secert:""},pageLoad:this.load,tload:!1}},watch:{load:function(t){t&&(this.pageLoad=t)},pageLoad:function(t){t&&this.getConfig()}},mounted:function(){o=this},methods:{getConfig:function(){o.tload=!0,this.$post("config/get",{config_key:"mwx_id_key"},function(t){o.tload=!1,0==t.errno&&t.data.config_content&&(o.formData=JSON.parse(t.data.config_content))})},submit:function(){this.tload=!0,this.$post("config/update",{config_key:"mwx_id_key",config_content:JSON.stringify(this.formData)},function(t){o.tload=!1,0===t.errno&&o.$message({showClose:!0,message:t.errmsg,type:"success"})})}}},c=s,r=e("6691"),l=Object(r["a"])(c,n,i,!1,null,null,null);a["default"]=l.exports}}]);
//# sourceMappingURL=chunk-2d0a4993.0de7c82d.js.map