(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["p2"],{2419:function(t,e,o){e=t.exports=o("2350")(!1),e.push([t.i,".content{height:calc(100% - 26px)}",""])},"2c3f":function(t,e,o){"use strict";o("9bf5")},"3ded":function(t,e,o){"use strict";o.r(e);var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("Shell",{attrs:{tab:"home",breadcrumb:t.breadcrumb}},[o("Panel",[o("div",{staticClass:"content"})])],1)},a=[],r=o("9646"),s=o("a020"),i={components:{Shell:r["a"],Panel:s["Panel"]},data(){return{breadcrumb:[]}}},c=i,u=(o("2c3f"),o("2877")),l=Object(u["a"])(c,n,a,!1,null,null,null);e["default"]=l.exports},9646:function(t,e,o){"use strict";var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("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"),o("Footer",{attrs:{copyright:"© "+(t.sumorText.common?t.sumorText.common.brand:"")+" 为您精心呈现",link:t.link}})],2)},a=[],r=o("a020"),s={components:{Page:r["Page"],Footer:r["Footer"]},props:["tab","breadcrumb"],data(){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(){return horizon.store.state.sumor.token},sumorText(){return horizon.store.state.sumor.text},logo(){return{icon:"sumor-logo@sumor",text:this.sumorText.common?this.sumorText.common.brand:""}}},methods:{handleClick(t){console.log("click",t.key)},update(t){if(this.token&&this.token.permission.Backoffice){const e=[];for(let o in this.navList)this.navList[o].active=this.navList[o].id===t,e.push(this.navList[o]);this.nav=e}else this.nav=[]},triggerAction(t){console.log(t)}},mounted(){this.update(this.tab)},watch:{tab(t){this.update(t)},token(){this.update(this.tab)}}},i=s,c=o("2877"),u=Object(c["a"])(i,n,a,!1,null,"01b1d311",null);e["a"]=u.exports},"9bf5":function(t,e,o){var n=o("2419");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=o("499e").default;a("29f5cbd3",n,!0,{sourceMap:!1,shadowMode:!1})}}]);