(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c1989"],{"475e":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-text-field",{staticClass:"mt-3",attrs:{label:"令牌Token"},model:{value:t.formData.token,callback:function(a){t.$set(t.formData,"token",a)},expression:"formData.token"}}),e("v-text-field",{staticClass:"mt-3",attrs:{label:"消息加解密密钥"},model:{value:t.formData.encodingAESKey,callback:function(a){t.$set(t.formData,"encodingAESKey",a)},expression:"formData.encodingAESKey"}}),e("v-btn",{staticClass:"mt-3 dark",attrs:{loading:t.tload},on:{click:function(a){return t.submit()}}},[t._v("保存")])],1)],1)},s=[],i={props:{load:{type:Boolean,default:!1}},data:function(){return{formData:{appid:"",app_secert:"",token:"",encodingAESKey:""},pageLoad:this.load,tload:!1}},watch:{load:function(t){t&&(this.pageLoad=t)},pageLoad:function(t){t&&this.getConfig()}},mounted:function(){o=this,o.getConfig()},methods:{getConfig:function(){o.tload=!0,this.$post("config/get",{config_key:"wxp_set"},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:"wxp_set",config_content:JSON.stringify(this.formData)},function(t){o.tload=!1,0===t.errno&&o.$message({showClose:!0,message:t.errmsg,type:"success"})})}}},c=i,l=e("6691"),r=Object(l["a"])(c,n,s,!1,null,null,null);a["default"]=r.exports}}]);
//# sourceMappingURL=chunk-2d0c1989.e322b595.js.map