(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d0c20af"],{"492f":function(t,e,s){"use strict";s.r(e);var a=s("469e"),i={data:()=>({danger:""}),methods:{getCheckConfig(){Object(a.f)().then(t=>{this.danger=t.data.words})},setCheckConfig(){Object(a.g)({words:this.danger}).then(t=>{this.getCheckConfig(),this.$message.success("保存成功!")})}},mounted(){this.getCheckConfig()}},n=s("2877"),c=Object(n.a)(i,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ls-view ls-card"},[t._m(0),s("div",{staticClass:"card-content m-t-24"},[s("el-input",{attrs:{type:"textarea",rows:20,placeholder:"请输入敏感词，一行一个，回车换行"},model:{value:t.danger,callback:function(e){t.danger=e},expression:"danger"}})],1),s("div",{staticClass:"bg-white ls-fixed-footer"},[s("div",{staticClass:"row-center flex",staticStyle:{height:"100%"}},[s("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.setCheckConfig}},[t._v("保存")])],1)])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"card-title"},[e("span",[this._v("敏感词汇")]),e("span",{staticClass:"muted m-l-10"},[this._v("这里设置的词库将用于全局的检测，如用户名，发帖，评论，聊天...")])])}],!1,null,null,null);e.default=c.exports}}]);