Commit b8fb5390ae4cfe88305d0a83e2d59249af1b1194
1 parent
cdef1f88
系统设置菜单消失 #2079
Showing
1 changed file
with
6 additions
and
6 deletions
ant-design-vue-jeecg/src/components/setting/SettingDrawer.vue
... | ... | @@ -87,7 +87,7 @@ |
87 | 87 | </div> |
88 | 88 | <div :style="{ marginTop: '24px' }"> |
89 | 89 | <a-list :split="false"> |
90 | - <a-list-item slot="renderItem" slot-scope="item, index"> | |
90 | + <a-list-item> | |
91 | 91 | <a-tooltip slot="actions"> |
92 | 92 | <template slot="title"> |
93 | 93 | 该设定仅 [顶部栏导航] 时有效 |
... | ... | @@ -101,19 +101,19 @@ |
101 | 101 | <div slot="title">内容区域宽度</div> |
102 | 102 | </a-list-item-meta> |
103 | 103 | </a-list-item> |
104 | - <a-list-item slot="renderItem" slot-scope="item, index"> | |
104 | + <a-list-item> | |
105 | 105 | <a-switch slot="actions" size="small" :defaultChecked="fixedHeader" @change="handleFixedHeader" /> |
106 | 106 | <a-list-item-meta> |
107 | 107 | <div slot="title">固定 Header</div> |
108 | 108 | </a-list-item-meta> |
109 | 109 | </a-list-item> |
110 | - <a-list-item slot="renderItem" slot-scope="item, index"> | |
110 | + <a-list-item> | |
111 | 111 | <a-switch slot="actions" size="small" :disabled="!fixedHeader" :defaultChecked="autoHideHeader" @change="handleFixedHeaderHidden" /> |
112 | 112 | <a-list-item-meta> |
113 | 113 | <div slot="title" :style="{ textDecoration: !fixedHeader ? 'line-through' : 'unset' }">下滑时隐藏 Header</div> |
114 | 114 | </a-list-item-meta> |
115 | 115 | </a-list-item> |
116 | - <a-list-item slot="renderItem" slot-scope="item, index"> | |
116 | + <a-list-item> | |
117 | 117 | <a-switch slot="actions" size="small" :disabled="(layoutMode === 'topmenu')" :checked="dataFixSiderbar" @change="handleFixSiderbar" /> |
118 | 118 | <a-list-item-meta> |
119 | 119 | <div slot="title" :style="{ textDecoration: layoutMode === 'topmenu' ? 'line-through' : 'unset' }">固定侧边菜单</div> |
... | ... | @@ -128,13 +128,13 @@ |
128 | 128 | <h3 class="setting-drawer-index-title">其他设置</h3> |
129 | 129 | <div> |
130 | 130 | <a-list :split="false"> |
131 | - <a-list-item slot="renderItem" slot-scope="item, index"> | |
131 | + <a-list-item> | |
132 | 132 | <a-switch slot="actions" size="small" :defaultChecked="colorWeak" @change="onColorWeak" /> |
133 | 133 | <a-list-item-meta> |
134 | 134 | <div slot="title">色弱模式</div> |
135 | 135 | </a-list-item-meta> |
136 | 136 | </a-list-item> |
137 | - <a-list-item slot="renderItem" slot-scope="item, index"> | |
137 | + <a-list-item> | |
138 | 138 | <a-switch slot="actions" size="small" :defaultChecked="multipage" @change="onMultipageWeak" /> |
139 | 139 | <a-list-item-meta> |
140 | 140 | <div slot="title">多页签模式</div> |
... | ... |