(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["p2"],{"0af0":function(t,o,e){"use strict";e("cbe9")},"33fd":function(t,o,e){"use strict";e.r(o);var n=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("Shell",{attrs:{tab:"home",breadcrumb:t.breadcrumb}},[e("Panel",[e("div",{staticClass:"content"})])],1)},a=[],i=e("7f6b"),r=e("3e22"),s={components:{Shell:i["a"],Panel:r["Panel"]},data:function(){return{breadcrumb:[]}}},c=s,u=(e("0af0"),e("2877")),l=Object(u["a"])(c,n,a,!1,null,null,null);o["default"]=l.exports},"505a":function(t,o,e){o=t.exports=e("2350")(!1),o.push([t.i,".content{height:calc(100% - 26px)}",""])},"7f6b":function(t,o,e){"use strict";var n=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("Page",{attrs:{breadcrumb:t.breadcrumb,background:{dark:"#2b5876, #262a37",light:"#ffffff, #f8f9fa"},logo:t.logo,nav:t.nav,action:t.action},on:{triggerAction:t.triggerAction}},[t._t("default"),e("Footer",{attrs:{copyright:"© "+(t.sumorText.common?t.sumorText.common.brand:"")+" 为您精心呈现",link:t.link}})],2)},a=[],i=e("3e22"),r={components:{Page:i["Page"],Footer:i["Footer"]},props:["tab","breadcrumb"],data:function(){return{navList:[{id:"app",to:"/admin/apps",icon:"apps@material",text:"应用管理",mobile:!0},{id:"user",to:"/admin/users",icon:"users@icomoon",text:"用户管理",mobile:!0}],nav:[],action:[],link:[{url:"/term",text:"使用条款"},{url:"/help",text:"帮助"}]}},computed:{token:function(){return horizon.store.state.sumor.token},sumorText:function(){return horizon.store.state.sumor.text},logo:function(){return{icon:"sumor-logo@sumor",text:this.sumorText.common?this.sumorText.common.brand:""}}},methods:{handleClick:function(t){console.log("click",t.key)},update:function(t){if(this.token&&this.token.permission.Backoffice){var o=[];for(var e in this.navList)this.navList[e].active=this.navList[e].id===t,o.push(this.navList[e]);this.nav=o}else this.nav=[]},triggerAction:function(t){console.log(t)}},mounted:function(){this.update(this.tab)},watch:{tab:function(t){this.update(t)},token:function(){this.update(this.tab)}}},s=r,c=e("2877"),u=Object(c["a"])(s,n,a,!1,null,"01b1d311",null);o["a"]=u.exports},cbe9:function(t,o,e){var n=e("505a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("499e").default;a("36526bc8",n,!0,{sourceMap:!1,shadowMode:!1})}}]);