| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d0daeb4"],{"6e3b":function(t,e,s){"use strict";s.r(e);var a=s("9ab4"),l=s("1b40"),c=s("f175");var n=s("0a6d");let o=class extends l.e{constructor(){super(...arguments),this.lists=[{content:"系统缓存",description:"系统运行过程中产生的各类缓存数据"}]}onSystemCacheClear(){c.a.post("/settings.system.cache/clear").then(t=>{location.reload()}).catch(t=>{})}created(){}};o=Object(a.a)([Object(l.a)({components:{LsDialog:n.a}})],o);var i=o,r=s("2877"),d=Object(r.a)(i,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"system-cache"},[e("div",{staticClass:"ls-card"},[e("el-alert",{staticClass:"xxl",attrs:{title:"温馨提示:管理系统运行过程中产生的缓存。",type:"info",closable:!1,"show-icon":""}})],1),e("div",{staticClass:"ls-card m-t-16"},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:!1,expression:"false"}],staticStyle:{width:"100%"},attrs:{data:t.lists,size:"mini","header-cell-style":{background:"#f5f8ff"}}},[e("el-table-column",{attrs:{prop:"content",label:"管理内容"}}),e("el-table-column",{attrs:{prop:"description",label:"内容说明"}}),e("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(s){return[e("ls-dialog",{staticClass:"inline",attrs:{content:"确定清除:"+s.row.content},on:{confirm:t.onSystemCacheClear}},[e("el-button",{attrs:{slot:"trigger",type:"text",size:"small"},slot:"trigger"},[t._v("清除系统缓存")])],1)]}}])})],1)],1)])}),[],!1,null,"2c6c97c8",null);e.default=d.exports}}]);
|