(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d208dad"],{a723:function(t,a,e){"use strict";e.r(a);var s,o=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:"用户accessKeyId"},model:{value:t.formData.accessKeyId,callback:function(a){t.$set(t.formData,"accessKeyId",a)},expression:"formData.accessKeyId"}}),e("v-text-field",{staticClass:"mt-3",attrs:{label:"用户accessKeySecret"},model:{value:t.formData.accessKeySecret,callback:function(a){t.$set(t.formData,"accessKeySecret",a)},expression:"formData.accessKeySecret"}}),e("v-text-field",{staticClass:"mt-3",attrs:{label:"短信签名名称"},model:{value:t.formData.signName,callback:function(a){t.$set(t.formData,"signName",a)},expression:"formData.signName"}}),e("v-text-field",{staticClass:"mt-3",attrs:{label:"短信验证码模板CODE"},model:{value:t.formData.verifyTpCode,callback:function(a){t.$set(t.formData,"verifyTpCode",a)},expression:"formData.verifyTpCode"}}),e("p",[t._v("模板内容：您的验证码${code}，该验证码10分钟内有效，请勿泄漏于他人！")]),e("v-btn",{staticClass:"mt-3 dark",attrs:{loading:t.tload},on:{click:function(a){return t.submit()}}},[t._v("保存")])],1)],1)},n=[],c={props:{load:{type:Boolean,default:!1}},data:function(){return{formData:{accessKeyId:"",accessKeySecret:"",signName:"",verifyTpCode:""},pageLoad:this.load,tload:!1}},watch:{load:function(t){t&&(this.pageLoad=t)},pageLoad:function(t){t&&this.getConfig()}},mounted:function(){s=this},methods:{getConfig:function(){s.tload=!0,this.$post("config/get",{config_key:"ali_sms"},function(t){s.tload=!1,0==t.errno&&t.data.config_content&&(s.formData=JSON.parse(t.data.config_content))})},submit:function(){this.tload=!0,this.$post("config/update",{config_key:"ali_sms",config_content:JSON.stringify(this.formData)},function(t){s.tload=!1,0===t.errno&&s.$message({showClose:!0,message:t.errmsg,type:"success"})})}}},i=c,l=e("6691"),r=Object(l["a"])(i,o,n,!1,null,null,null);a["default"]=r.exports}}]);
//# sourceMappingURL=chunk-2d208dad.f10f0102.js.map