# Conflicts:
#	ruoyi-ui/src/layout/index.vue
This commit is contained in:
hankaibo
2021-08-19 23:01:39 +08:00
10 changed files with 36 additions and 47 deletions

View File

@ -8,7 +8,7 @@
<tags-view v-if="needTagsView" />
</div>
<app-main />
<right-panel v-if="showSettings">
<right-panel>
<settings />
</right-panel>
</div>
@ -39,7 +39,6 @@ export default {
sideTheme: state => state.settings.sideTheme,
sidebar: state => state.app.sidebar,
device: state => state.app.device,
showSettings: state => state.settings.showSettings,
needTagsView: state => state.settings.tagsView,
fixedHeader: state => state.settings.fixedHeader
}),
@ -56,7 +55,7 @@ export default {
}
},
methods: {
handleClickOutside () {
handleClickOutside() {
this.$store.dispatch('app/closeSideBar', { withoutAnimation: false })
}
}