-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
增加菜单在顶部的布局;修复租户列表帐号数量问题;登录、创建增加租户帐号数量限制校验
- Loading branch information
Showing
13 changed files
with
87 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
src/views/layout/components/headbar/components/menu/index.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<script setup> | ||
import SubMenu from '../../../sub-menu/index.vue' | ||
const menuStore = useMenuStore() | ||
const themeStore = useThemeStore() | ||
const menuTheme = computed(() => themeStore.color.menu) | ||
const { displayedMenus, active } = storeToRefs(menuStore) | ||
</script> | ||
|
||
<template> | ||
<div class="menu-container margin-n-20 flex-item_f-1"> | ||
<el-menu | ||
:default-active="active" | ||
:text-color="menuTheme.textColor" | ||
:active-text-color="menuTheme.activeTextColor" | ||
:unique-opened="true" | ||
mode="horizontal"> | ||
<SubMenu | ||
v-for="item in displayedMenus" | ||
:key="item.id" | ||
:data="item" /> | ||
</el-menu> | ||
</div> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
.menu-container { | ||
max-width: 100%; | ||
.el-menu { | ||
// flex: 1; | ||
// max-width: 100%; | ||
// min-width: 300px; | ||
border: none; | ||
// display: flex; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters