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
1.6 KiB
JavaScript

5 years ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7a7b9f54"],{"1e4b":function(e,t,n){"use strict";n.r(t);var s=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)},c=[],a=(n("4de4"),n("4160"),n("b0c0"),n("159b"),n("5530")),o=n("2f62"),r={name:"mainIndex",data:function(){return{collapsed:this.$store.state.aside_collapsed,breadcrumbList:[],current:""}},computed:Object(a["a"])(Object(a["a"])({},Object(o["d"])(["aside_collapsed","userInfo"])),Object(o["b"])(["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,s=e.getFullYear(),c=e.getMonth()+1,a=e.getDate(),o=e.getHours()<10?"0"+e.getHours():e.getHours(),r=e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes(),u=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds();t.current=s+"年"+c+"月"+a+"日 "+o+":"+r+":"+u,n()}),1e3)}n()}},mounted:function(){this.getCurrentTime(),this.processBread(this.$route)}},u=r,i=(n("c072"),n("2877")),d=Object(i["a"])(u,s,c,!1,null,null,null);t["default"]=d.exports},"392c":function(e,t,n){},c072:function(e,t,n){"use strict";var s=n("392c"),c=n.n(s);c.a}}]);