chore: transforming a common sidebar into a separate component

- also added saving collapsed state
This commit is contained in:
Shishkevich D.
2025-03-24 11:19:27 +00:00
parent 40ebf2902e
commit 3ea05d30c1
6 changed files with 109 additions and 63 deletions
+2 -2
View File
@@ -74,7 +74,7 @@
<body>
<a-layout id="app" v-cloak :class="themeSwitcher.currentTheme">
{{ template "commonSider" . }}
<a-sidebar></a-sidebar>
<a-layout id="content-layout">
<a-layout-content>
<a-spin :spinning="spinning" :delay="200" :tip="loadingTip">
@@ -417,6 +417,7 @@
</a-modal>
</a-layout>
{{template "js" .}}
{{template "component/aSidebar" .}}
{{template "component/aThemeSwitch" .}}
{{template "component/aCustomStatistic" .}}
{{template "modals/textModal"}}
@@ -591,7 +592,6 @@
delimiters: ['[[', ']]'],
el: '#app',
data: {
siderDrawer,
themeSwitcher,
status: new Status(),
versionModal,