mirror of https://github.com/go-sonic/sonic.git
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.8 KiB
JavaScript
1 line
1.8 KiB
JavaScript
"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[245],{31245:function(e,t,n){n.r(t),n.d(t,{default:function(){return u}});var o=function(){var e=this,t=e._self._c;return t("page-view",[t("a-row",[t("a-col",{attrs:{span:24}},[e.options.developer_mode?t("div",{staticClass:"card-container"},[t("a-tabs",{attrs:{type:"card"},model:{value:e.activeKey,callback:function(t){e.activeKey=t},expression:"activeKey"}},e._l(e.panes,(function(n){return t("a-tab-pane",{key:n.key},[t("span",{attrs:{slot:"tab"},slot:"tab"},[t("a-icon",{attrs:{type:n.icon}}),e._v(e._s(n.title)+" ")],1),t(n.component,{tag:"component"})],1)})),1)],1):t("a-alert",{attrs:{description:"当前没有启用开发者选项,请启用之后再访问该页面!",message:"提示",showIcon:"",type:"error"}})],1)],1)],1)},a=[],i=(n(70560),n(20629)),c=n(70571),s={components:{PageView:c.B4},data(){const e=[{title:"运行环境",icon:"safety",component:()=>n.e(510).then(n.bind(n,85510)),key:"environment"},{title:"实时日志",icon:"code",component:()=>Promise.all([n.e(344),n.e(341),n.e(532)]).then(n.bind(n,25532)),key:"runtimeLogs"},{title:"系统变量",icon:"table",component:()=>n.e(505).then(n.bind(n,79505)),key:"optionsList"},{title:"静态存储",icon:"cloud",component:()=>Promise.all([n.e(344),n.e(701)]).then(n.bind(n,701)),key:"staticStorage"},{title:"设置",icon:"setting",component:()=>n.e(321).then(n.bind(n,44321)),key:"settings"}];return{activeKey:e[0].key,panes:e}},computed:{...(0,i.Se)(["options"])},beforeRouteEnter(e,t,n){const o=e.query.activeKey;n((e=>{o&&(e.activeKey=o)}))},watch:{activeKey(e){if(e){const t=this.$router.history.current.path;this.$router.push({path:t,query:{activeKey:e}}).catch((e=>e))}}}},r=s,l=n(1001),p=(0,l.Z)(r,o,a,!1,null,null,null),u=p.exports}}]); |