(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-60d3b935"],{"76a3":function(t,e,s){"use strict";s.r(e);var a=s("9ab4"),i=s("1b40"),o=s("b3ad"),n=s("bc3a"),c=s.n(n),r=s("d70b"),l=s("0613");let m=class extends i.e{constructor(){super(...arguments),this.form={topicName:""}}getSetting(){c.a.get(r.a.baseURL+"/adminapi/settings.topic.topic/getConfig",{params:{},headers:{Token:l.a.getters.token}}).then(t=>{this.form.topicName=t.data.topic_name})}setSetting(){c.a.post(r.a.baseURL+"/adminapi/settings.topic.topic/setConfig",{topic_name:this.form.topicName},{headers:{Token:l.a.getters.token}}).then(t=>{this.getSetting(),this.$message.success("保存成功!")})}mounted(){this.getSetting()}};m=Object(a.a)([Object(i.a)({components:{MaterialSelect:o.a}})],m);var p=m,f=(s("8e52"),s("2877")),d=Object(f.a)(p,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"setting-goods"},[s("el-form",{ref:"goodsSettingsRef",staticClass:"ls-card",attrs:{"label-position":"right",model:t.form,"label-width":"120px",size:"small"}},[s("div",{staticStyle:{"font-size":"14px","font-weight":"500","margin-bottom":"12px"}},[t._v(" 话题设置 ")]),s("el-form-item",{attrs:{label:"新的话题名称"}},[s("el-input",{model:{value:t.form.topicName,callback:function(e){t.$set(t.form,"topicName",e)},expression:"form.topicName"}})],1)],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:function(e){return t.setSetting()}}},[t._v("保存")])],1)])],1)}),[],!1,null,"62ba992a",null);e.default=d.exports},"8e52":function(t,e,s){"use strict";s("fa8d")},fa8d:function(t,e,s){}}]);