Skip to content

Commit

Permalink
fix: windows 下主显示容器宽度变宽 (#145)
Browse files Browse the repository at this point in the history
* fix: windows 下 el-scrollbar 导致子容器宽度变宽

* chore: 修改错误的拼写
  • Loading branch information
lianghx-319 authored Feb 19, 2020
1 parent f7005e0 commit 1fb2797
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions template/framework-admin/components/breadcrumb/bread-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const HOME = {name: '首页'}
const ACCOUNT = {name: '账户管理', disabled: true}
const FIELD = {name: '字段管理'}
const GROUP = {name: '群组管理'}
const ORGANNIZATION = {name: '组织管理'}
const ORGANIZATION = {name: '组织管理'}
const POSITION = {name: '职位管理'}
const STAFF = {name: '员工管理'}

Expand All @@ -21,7 +21,7 @@ export default [
},
{
name: 'account-organization',
breadcrumb: [ACCOUNT, ORGANNIZATION],
breadcrumb: [ACCOUNT, ORGANIZATION],
},
{
name: 'account-position',
Expand Down
2 changes: 1 addition & 1 deletion template/framework-admin/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default {
}
.sub-content {
// overflow-y: auto;
width: calc(100vw - @sidebar-width);
height: calc(100vh - @--header-height - @--breadcrumb-height);
}
Expand Down

0 comments on commit 1fb2797

Please sign in to comment.