(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b328b"],{"26d5":function(t,o,n){"use strict";n.r(o);var a,e=function(){var t=this,o=t.$createElement,n=t._self._c||o;return n("v-container",[n("v-form",{directives:[{name:"loading",rawName:"v-loading",value:t.tload,expression:"tload"}],staticStyle:{"max-width":"100%",margin:"auto"}},[n("vue-editor",{model:{value:t.formData,callback:function(o){t.formData=o},expression:"formData"}}),n("v-btn",{staticClass:"mt-3 dark",attrs:{loading:t.tload},on:{click:function(o){return t.submit()}}},[t._v("保存")])],1)],1)},i=[],s=n("7457"),c={components:{VueEditor:s["a"]},props:{load:{type:Boolean,default:!1}},data:function(){return{formData:"",pageLoad:this.load,tload:!1}},watch:{load:function(t){t&&(this.pageLoad=t)},pageLoad:function(t){t&&this.getConfig()}},mounted:function(){a=this},methods:{getConfig:function(){a.tload=!0,this.$post("config/get",{config_key:"run_rules"},function(t){a.tload=!1,0==t.errno&&t.data.config_content&&(a.formData=t.data.config_content)})},submit:function(){this.tload=!0,this.$post("config/update",{config_key:"run_rules",config_content:this.formData},function(t){a.tload=!1,0===t.errno&&a.$message({showClose:!0,message:t.errmsg,type:"success"})})}}},r=c,u=n("6691"),l=Object(u["a"])(r,e,i,!1,null,null,null);o["default"]=l.exports}}]);
//# sourceMappingURL=chunk-2d0b328b.4fd82c15.js.map