1
This commit is contained in:
@@ -149,6 +149,14 @@ class AdminFramework {
|
||||
store: this.store,
|
||||
render: h => h('router-view'),
|
||||
async created() {
|
||||
// 初始化响应式 rem 设置
|
||||
uiTool.setRem()
|
||||
|
||||
// 监听窗口大小变化,重新设置 rem
|
||||
window.addEventListener('resize', () => {
|
||||
uiTool.setRem()
|
||||
})
|
||||
|
||||
console.log('=== Admin Framework App Started ===')
|
||||
console.log('Framework Version:', framework.version)
|
||||
console.log('Config:', this.$config)
|
||||
|
||||
Reference in New Issue
Block a user