text: webpackJsonp([6],{"3Fag":function(t,e,n){var o=n("QO9H");"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);n("8bSs")("49692c86",o,!0)},OkiS:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n("aA9S"),a=n.n(o),i=n("5aCZ"),r=n("vLgD"),s="/agreement";var c={components:{Tinymce:i.a},data:function(){return{form:{}}},created:function(){this.getAgreement()},methods:{getAgreement:function(){var t=this;Object(r.a)({url:s+"/get",method:"get"}).then(function(e){t.form=e.data,t.form.id=void 0,t.form.storeId=void 0,console.log(t.form)})},submit:function(){var t,e=this,n=a()({},this.form);(t=n,Object(r.a)({url:s+"/edit",method:"post",data:new URLSearchParams(t)})).then(function(){e.$notify({title:"成功",message:"编辑成功",type:"success",duration:2e3})})}}},l={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container",staticStyle:{"padding-bottom":"20px"}},[n("el-form",{attrs:{model:t.form,"label-position":"left","label-width":"100px"}},[n("span",{staticClass:"form-title"},[t._v("用户协议")]),t._v(" "),n("tinymce",{attrs:{height:400},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}}),t._v(" "),n("el-button",{staticStyle:{"margin-top":"20px"},attrs:{type:"primary"},on:{click:t.submit}},[t._v("保存")])],1)],1)])},staticRenderFns:[]};var f=n("/Xao")(c,l,!1,function(t){n("3Fag")},null,null);e.default=f.exports},QO9H:function(t,e,n){(t.exports=n("BkJT")(!1)).push([t.i,"\n.form-title {\n  font-size: 18px;\n  padding-bottom: 26px;\n  display: block;\n}\n",""])}});