File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/components/SettingDrawer Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 33 <a-drawer
44 width =" 300"
55 placement =" right"
6- :closable =" false"
76 @close =" onClose"
7+ :closable =" false"
88 :visible =" visible"
99 :getContainer =" () => $refs.settingDrawer"
1010 :style =" {}"
111111 <a-list-item >
112112 <a-switch slot =" actions" size =" small" :disabled =" !fixedHeader" :defaultChecked =" autoHideHeader" @change =" handleFixedHeaderHidden" />
113113 <a-list-item-meta >
114- <div slot =" title" :style =" { textDecoration: !fixedHeader ? 'line-through' : 'unset' }" >下滑时隐藏 Header</div >
114+ <a-tooltip slot =" title" placement =" left" >
115+ <template slot="title">固定 Header 时可配置</template >
116+ <div :style =" { opacity: !fixedHeader ? '0.5' : '1' }" >下滑时隐藏 Header</div >
117+ </a-tooltip >
115118 </a-list-item-meta >
116119 </a-list-item >
117120 <a-list-item >
@@ -237,6 +240,7 @@ export default {
237240 autoHideHeader: ${ this .baseConfig .autoHideHeader } , // auto hide header
238241 colorWeak: ${ this .baseConfig .colorWeak } ,
239242 multiTab: ${ this .baseConfig .multiTab } ,
243+ production: process.env.NODE_ENV === 'production' && process.env.VUE_APP_PREVIEW !== 'true',
240244 // vue-ls options
241245 storageOptions: {
242246 namespace: 'pro__',
You can’t perform that action at this time.
0 commit comments