You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
2.1 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e205a644"],{"1e4b":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-layout",{staticClass:"mainIndex"},[n("AsideMenu"),n("div",{class:["mainIndex-container",e.collapsed?"collapsedClose":""]},[n("PageHeader"),n("Breadcrumb"),n("PageContent")],1)],1)},s=[],o=(n("4de4"),n("4160"),n("b0c0"),n("159b"),n("5530")),r=n("2f62"),c={name:"mainIndex",data:function(){return{collapsed:this.$store.state.aside_collapsed,breadcrumbList:[],current:""}},computed:Object(o["a"])(Object(o["a"])({},Object(r["mapState"])(["aside_collapsed","userInfo"])),Object(r["mapGetters"])(["getAside_collapsed"])),watch:{$route:function(e){this.processBread(e)},getAside_collapsed:function(e){console.log(e),this.collapsed=e}},methods:{processBread:function(e){this.breadcrumbList=e.matched.filter((function(e,t){return e.name&&(e.meta.unfold||t)})),this.breadcrumbList.forEach((function(t){t.name===e.name&&(t.query=e.query)}))},getCurrentTime:function(){var e=null,t=this;function n(){e||clearTimeout(e),e=setTimeout((function(){var e=new Date,a=e.getFullYear(),s=e.getMonth()+1,o=e.getDate(),r=e.getHours()<10?"0"+e.getHours():e.getHours(),c=e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes(),i=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();t.current=a+"年"+s+"月"+o+"日 "+r+":"+c+":"+i,n()}),1e3)}n()}},mounted:function(){this.getCurrentTime(),this.processBread(this.$route)}},i=c,u=(n("c072"),n("2877")),l=Object(u["a"])(i,a,s,!1,null,null,null);t["default"]=l.exports},"7e35":function(e,t,n){var a=n("d454");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var s=n("499e").default;s("6c4bf748",a,!0,{sourceMap:!1,shadowMode:!1})},c072:function(e,t,n){"use strict";var a=n("7e35"),s=n.n(a);s.a},d454:function(e,t,n){var a=n("24fb");t=a(!1),t.push([e.i,".alarm .ant-form-item-label{text-align:left}.mainIndex{display:flex}.mainIndex-aside{background:#001529}.mainIndex-container{flex:auto;margin-left:270px}.mainIndex .collapsedClose{margin-left:80px}.mainIndex .ant-table td{white-space:nowrap}",""]),e.exports=t}}]);