diff --git a/src/index.js b/src/index.js index b71daa4..63c456c 100644 --- a/src/index.js +++ b/src/index.js @@ -150,6 +150,7 @@ class AdminFramework { render: h => h('router-view'), async created() { // 初始化响应式 rem 设置 + uiTool.setRem() // 监听窗口大小变化,重新设置 rem @@ -160,7 +161,7 @@ class AdminFramework { console.log('=== Admin Framework App Started ===') console.log('Framework Version:', framework.version) console.log('Config:', this.$config) - + // Auto restore menu and title on refresh const token = this.$store.state.user.token