diff --git a/src/assets/styles/adminIndex.scss b/src/assets/styles/adminIndex.scss index 856a062..c982b16 100644 --- a/src/assets/styles/adminIndex.scss +++ b/src/assets/styles/adminIndex.scss @@ -258,7 +258,7 @@ img:not([src]) { .img_box { width: 100%; - height: 148px; + height: 140px; } img { diff --git a/src/components/Crud/CRUD.operation.vue b/src/components/Crud/CRUD.operation.vue index 20fd0db..88c0073 100644 --- a/src/components/Crud/CRUD.operation.vue +++ b/src/components/Crud/CRUD.operation.vue @@ -2,7 +2,7 @@
- + 导出 - + {(title)}) + vnodes.push({(title)}) } return vnodes } diff --git a/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue index 4d5be65..82cf232 100644 --- a/src/layout/components/Sidebar/SidebarItem.vue +++ b/src/layout/components/Sidebar/SidebarItem.vue @@ -23,7 +23,6 @@ import { isExternal } from '@/utils/validate' import Item from './Item' import AppLink from './Link' import FixiOSBug from './FixiOSBug' -// import { FetchChildMenus } from '@/api/system/menu' export default { name: 'SidebarItem', components: { Item, AppLink }, @@ -48,20 +47,6 @@ export default { return {} }, methods: { - getChildMenu(item) { - // console.log(item) - // const param = { - // id: item.id - // } - // console.log(param) - // FetchChildMenus(param).then(res => { - // if (res.code == 200) { - // console.log(res) - // } else { - // return this.$message.error('获取子菜单失败数据失败!') - // } - // }) - }, hasOneShowingChild(children = [], parent) { const showingChildren = children.filter((item) => { if (item.hidden) { @@ -72,9 +57,6 @@ export default { } }) - // console.log(showingChildren) - // console.log(showingChildren.length) - if (showingChildren.length === 1) { return true } diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index 1a2624c..8848dd5 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -1,34 +1,25 @@ @@ -44,12 +35,14 @@ export default { top: 0, left: 0, selectedTag: {}, - affixTags: [] + affixTags: [], + isShowTagView: false } }, computed: { visitedViews() { console.log(this.$store.state.permission.addRouters) + console.log(this.$store.state.permission) return this.$store.state.permission.addRouters }, routes() { @@ -75,7 +68,12 @@ export default { }, methods: { isActive(route) { - return route.path === this.$route.path + // console.log(route) + // console.log('111') + // console.log(route.path) + // console.log('222') + // console.log(this.$route) + return this.$route.path.indexOf(route.path) != -1 }, filterAffixTags(routes, basePath = '/') { let tags = [] @@ -266,6 +264,9 @@ export default { } } } + ::v-deep .el-scrollbar__view{ + display: flex; + } } diff --git a/src/views/content/material/materialList/index.vue b/src/views/content/material/materialList/index.vue index bdea991..b9b925c 100644 --- a/src/views/content/material/materialList/index.vue +++ b/src/views/content/material/materialList/index.vue @@ -713,6 +713,9 @@ export default { } .item_cont { border-color: #dcdde3; + .img_box{ + height: 148px; + } img { width: 100%; height: 148px; diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 6e73d99..3cd51c7 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -19,17 +19,18 @@
- 新增 + 新增 - - + + - - 全选 -
- {{ items.name }} -
+ + 全选 +
@@ -146,24 +137,36 @@