|
|
@ -4,7 +4,7 @@ |
|
|
|
<side-menu :theme="theme.mode" :menuData="menuData" :collapsed="false" :collapsible="false" @menuSelect="onMenuSelect"/> |
|
|
|
<side-menu :theme="theme.mode" :menuData="menuData" :collapsed="false" :collapsible="false" @menuSelect="onMenuSelect"/> |
|
|
|
</drawer> |
|
|
|
</drawer> |
|
|
|
<side-menu :class="[fixedSideBar ? 'fixed-side' : '']" :theme="theme.mode" v-else-if="layout === 'side'" :menuData="menuData" :collapsed="collapsed" :collapsible="true" /> |
|
|
|
<side-menu :class="[fixedSideBar ? 'fixed-side' : '']" :theme="theme.mode" v-else-if="layout === 'side'" :menuData="menuData" :collapsed="collapsed" :collapsible="true" /> |
|
|
|
<div v-if="fixedSideBar" :style="`width: ${sideMenuWidth}; min-width: ${sideMenuWidth};max-width: ${sideMenuWidth};`" class="virtual-side"></div> |
|
|
|
<div v-if="fixedSideBar && !isMobile" :style="`width: ${sideMenuWidth}; min-width: ${sideMenuWidth};max-width: ${sideMenuWidth};`" class="virtual-side"></div> |
|
|
|
<drawer v-if="!hideSetting" v-model="showSetting" placement="right"> |
|
|
|
<drawer v-if="!hideSetting" v-model="showSetting" placement="right"> |
|
|
|
<div class="setting" slot="handler"> |
|
|
|
<div class="setting" slot="handler"> |
|
|
|
<a-icon :type="showSetting ? 'close' : 'setting'"/> |
|
|
|
<a-icon :type="showSetting ? 'close' : 'setting'"/> |
|
|
|