mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 16:46:19 +08:00
fix: lint error
This commit is contained in:
@@ -38,7 +38,7 @@ function useMenu() {
|
||||
function useMenuStyle(menu?: SubMenuProvider) {
|
||||
const subMenuStyle = computed(() => {
|
||||
return {
|
||||
'--menu-level': menu ? menu?.level ?? 0 + 1 : 0,
|
||||
'--menu-level': menu ? (menu?.level ?? 0 + 1) : 0,
|
||||
};
|
||||
});
|
||||
return subMenuStyle;
|
||||
|
Reference in New Issue
Block a user