Commit d996ed36 by liimin

解决一级菜单下无菜单,sentry报错问题

1 parent 9cd6f747
...@@ -84,7 +84,7 @@ $width: 160px; ...@@ -84,7 +84,7 @@ $width: 160px;
border-radius: 8px; border-radius: 8px;
box-shadow: 0 6px 20px 0 #7a7a7a33; box-shadow: 0 6px 20px 0 #7a7a7a33;
} }
animation: pulse 0.08s steps(10) forwards; animation: pulse 0.06s steps(10) forwards;
} }
// } // }
</style> </style>
......
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
!this.menu.isCollapse && this.emitter() !this.menu.isCollapse && this.emitter()
}, },
emitter() { emitter() {
this.bus.$emit('menuChanged', { menus: this.menuData.children.noHidden() }) this.bus.$emit('menuChanged', { menus: this.menuData.children?.noHidden() })
}, },
...mapActions('menu', ['setHoverId']) ...mapActions('menu', ['setHoverId'])
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!