提交 bb972149 编写于 作者: shanwewei's avatar shanwewei

sww --首页应用菜单支持菜单方向不显示

上级 86c7aa05
...@@ -24,13 +24,13 @@ ...@@ -24,13 +24,13 @@
</header> </header>
<layout> <layout>
<#if view.hasPSControl('appmenu')> <#if view.hasPSControl('appmenu')>
<sider width={this.collapseChange ? 64 : 200} hide-trigger v-model={this.collapseChange}> <sider width={this.collapseChange ? 64 : 200} hide-trigger v-model={this.collapseChange} <#if view.getMainMenuAlign()=='NONE'>style={{'display':'none'}}</#if>>
<div class="sider-top"> <div class="sider-top">
<i class="ivu-icon ivu-icon-md-menu" on-click={this.handleClick}></i> <i class="ivu-icon ivu-icon-md-menu" on-click={this.handleClick}></i>
</div> </div>
${P.getCtrlCode('appmenu', 'CONTROL.html').code} ${P.getCtrlCode('appmenu', 'CONTROL.html').code}
</sider> </sider>
<content class="index_content" style={{'width':this.collapseChange ? 'calc(100vw - 64px)' : 'calc(100vw - 200px)'}}> <content class="index_content" <#if view.getMainMenuAlign()=='NONE'>style={{'width':'100vw'}}<#else>style={{'width':this.collapseChange ? 'calc(100vw - 64px)' : 'calc(100vw - 200px)'}}</#if>>
<tab-page-exp></tab-page-exp> <tab-page-exp></tab-page-exp>
<app-keep-alive routerList={this.$store.state.historyPathList}> <app-keep-alive routerList={this.$store.state.historyPathList}>
<router-view key={this.$route.fullPath}></router-view> <router-view key={this.$route.fullPath}></router-view>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册