qdt-admin-layout 1.1.9 → 1.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qdt-admin-layout",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "基于element-ui的后台管理layout的管家婆改版",
5
5
  "main": "src/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -77,7 +77,9 @@ export default {
77
77
  class="el-icon-download header-icon"
78
78
  on-click={dowload}
79
79
  />
80
- <span class="username">下载</span>
80
+ <span class="username" on-click={dowload}>
81
+ 下载
82
+ </span>
81
83
  <span class="username shu">|</span>
82
84
 
83
85
  <i
@@ -111,6 +111,7 @@ export default {
111
111
  // 渲染无子级的菜单
112
112
  renderSingleMenu(h, menu, depth, needlogo) {
113
113
  const { fullPath } = menu;
114
+ if (fullPath === "/index") return "";
114
115
  return (
115
116
  <MenuItem
116
117
  key={fullPath}
@@ -1,8 +1,9 @@
1
1
  .menu-display {
2
+ display: flex;
2
3
  margin-left: 5px;
3
4
  border-radius: 2px;
4
- -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0 , 0.15);
5
- box-shadow: 0 2px 12px 0 rgba(0, 0, 0 , 0.15);
5
+ -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.15);
6
+ box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.15);
6
7
  ul {
7
8
  border-right: 1px solid rgb(228, 231, 237);
8
9
  }
@@ -13,6 +13,9 @@ const state = {
13
13
  // 用户名称
14
14
  username: '',
15
15
 
16
+ // 公司名称
17
+ companyName: '',
18
+
16
19
  // 下拉菜单项,{icon:图标, content:菜单内容, handler:点击时触发的方法}
17
20
  dropdownItems: [],
18
21