|
@@ -3,8 +3,8 @@
|
|
<a-drawer
|
|
<a-drawer
|
|
width="300"
|
|
width="300"
|
|
placement="right"
|
|
placement="right"
|
|
- :closable="false"
|
|
|
|
@close="onClose"
|
|
@close="onClose"
|
|
|
|
+ :closable="false"
|
|
:visible="visible"
|
|
:visible="visible"
|
|
:getContainer="() => $refs.settingDrawer"
|
|
:getContainer="() => $refs.settingDrawer"
|
|
:style="{}"
|
|
:style="{}"
|
|
@@ -111,7 +111,10 @@
|
|
<a-list-item>
|
|
<a-list-item>
|
|
<a-switch slot="actions" size="small" :disabled="!fixedHeader" :defaultChecked="autoHideHeader" @change="handleFixedHeaderHidden" />
|
|
<a-switch slot="actions" size="small" :disabled="!fixedHeader" :defaultChecked="autoHideHeader" @change="handleFixedHeaderHidden" />
|
|
<a-list-item-meta>
|
|
<a-list-item-meta>
|
|
- <div slot="title" :style="{ textDecoration: !fixedHeader ? 'line-through' : 'unset' }">下滑时隐藏 Header</div>
|
|
|
|
|
|
+ <a-tooltip slot="title" placement="left">
|
|
|
|
+ <template slot="title">固定 Header 时可配置</template>
|
|
|
|
+ <div :style="{ opacity: !fixedHeader ? '0.5' : '1' }">下滑时隐藏 Header</div>
|
|
|
|
+ </a-tooltip>
|
|
</a-list-item-meta>
|
|
</a-list-item-meta>
|
|
</a-list-item>
|
|
</a-list-item>
|
|
<a-list-item >
|
|
<a-list-item >
|
|
@@ -237,6 +240,7 @@ export default {
|
|
autoHideHeader: ${this.baseConfig.autoHideHeader}, // auto hide header
|
|
autoHideHeader: ${this.baseConfig.autoHideHeader}, // auto hide header
|
|
colorWeak: ${this.baseConfig.colorWeak},
|
|
colorWeak: ${this.baseConfig.colorWeak},
|
|
multiTab: ${this.baseConfig.multiTab},
|
|
multiTab: ${this.baseConfig.multiTab},
|
|
|
|
+ production: process.env.NODE_ENV === 'production' && process.env.VUE_APP_PREVIEW !== 'true',
|
|
// vue-ls options
|
|
// vue-ls options
|
|
storageOptions: {
|
|
storageOptions: {
|
|
namespace: 'pro__',
|
|
namespace: 'pro__',
|