|
@@ -105,7 +105,7 @@
|
|
|
<template slot="title">
|
|
|
该设定仅 [顶部栏导航] 时有效
|
|
|
</template>
|
|
|
- <a-select size="small" style="width: 80px;" :defaultValue="contentWidth" @change="handleContentWidthChange">
|
|
|
+ <a-select size="small" :disabled="layoutMode !== 'topmenu'" style="width: 80px;" :defaultValue="contentWidth" @change="handleContentWidthChange">
|
|
|
<a-select-option value="Fixed">固定</a-select-option>
|
|
|
<a-select-option value="Fluid" v-if="layoutMode !== 'sidemenu'">流式</a-select-option>
|
|
|
</a-select>
|
|
@@ -115,7 +115,7 @@
|
|
|
</a-list-item-meta>
|
|
|
</a-list-item>
|
|
|
<a-list-item>
|
|
|
- <a-switch slot="actions" size="small" :defaultChecked="fixedHeader" @change="handleFixedHeader" />
|
|
|
+ <a-switch slot="actions" size="small" :disabled="layoutMode === 'mixmenu'" :defaultChecked="fixedHeader" @change="handleFixedHeader" />
|
|
|
<a-list-item-meta>
|
|
|
<div slot="title">固定 Header</div>
|
|
|
</a-list-item-meta>
|
|
@@ -130,7 +130,7 @@
|
|
|
</a-list-item-meta>
|
|
|
</a-list-item>
|
|
|
<a-list-item>
|
|
|
- <a-switch slot="actions" size="small" :disabled="(layoutMode === 'topmenu')" :defaultChecked="fixSiderbar" @change="handleFixSiderbar" />
|
|
|
+ <a-switch slot="actions" size="small" :disabled="(layoutMode !== 'sidemenu')" :defaultChecked="fixSiderbar" @change="handleFixSiderbar" />
|
|
|
<a-list-item-meta>
|
|
|
<div slot="title" :style="{ textDecoration: layoutMode === 'topmenu' ? 'line-through' : 'unset' }">固定侧边菜单</div>
|
|
|
</a-list-item-meta>
|
|
@@ -151,7 +151,7 @@
|
|
|
</a-list-item-meta>
|
|
|
</a-list-item>
|
|
|
<a-list-item>
|
|
|
- <a-switch slot="actions" size="small" :defaultChecked="multiTab" @change="onMultiTab" />
|
|
|
+ <a-switch slot="actions" :disabled="layoutMode === 'mixmenu'" size="small" :defaultChecked="multiTab" @change="onMultiTab" />
|
|
|
<a-list-item-meta>
|
|
|
<div slot="title">多页签模式</div>
|
|
|
</a-list-item-meta>
|