ваше сообщение коммита

This commit is contained in:
2025-06-20 15:50:13 +03:00
parent 4574af58df
commit 45cde76e85
6 changed files with 299 additions and 24 deletions

View File

@@ -6,6 +6,7 @@ const SettingsBlockchainView = () => import('../views/settings/BlockchainSetting
const SettingsSecurityView = () => import('../views/settings/SecuritySettingsView.vue');
const SettingsInterfaceView = () => import('../views/settings/InterfaceSettingsView.vue');
import axios from 'axios';
import { setToStorage } from '../utils/storage.js';
console.log('router/index.js: Script loaded');
@@ -152,4 +153,9 @@ router.beforeEach(async (to, from, next) => {
}
});
router.afterEach(() => {
// Всегда закрываем сайдбар при переходе на любую страницу
setToStorage('showWalletSidebar', false);
});
export default router;