module-menu-vue 0.3.30 → 0.3.31

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": "module-menu-vue",
3
- "version": "0.3.30",
3
+ "version": "0.3.31",
4
4
  "description": "城市大数据平台菜单--Vue版",
5
5
  "main": "/index.js",
6
6
  "scripts": {
@@ -9,7 +9,7 @@
9
9
  <el-dropdown-menu slot="dropdown">
10
10
  <el-dropdown-item command="single">
11
11
  <img :src="PersonalCenterSrc" alt="" class="menuItem" />
12
- <span>{{["integration", 'LNRD', 'HBJK'].includes(stash) ? '用户中心' : '个人中心'}}</span>
12
+ <span>{{["integration", 'LNRD', 'HBJK'].includes(stash) || xiangtan ? '用户中心' : '个人中心'}}</span>
13
13
  </el-dropdown-item>
14
14
  <el-dropdown-item v-show="isShowSys" command="systerm">
15
15
  <img :src="SystemManageSrc" alt="" class="menuItem" />
@@ -84,7 +84,11 @@ export default {
84
84
  PZCS: {
85
85
  type: Boolean,
86
86
  default: false,
87
- }
87
+ },
88
+ xiangtan: {
89
+ type: Boolean,
90
+ default: false,
91
+ },
88
92
  },
89
93
  created() {
90
94
  if (["integration", 'LNRD', 'HBJK'].includes(this.stash)) {
@@ -158,7 +162,7 @@ export default {
158
162
  if (flag === 'single') {
159
163
  if (this.isBigDataFoundationPlatform) {
160
164
  url = '/admin-ui/user/profile'
161
- } else if (["integration", 'LNRD', 'HBJK'].includes(this.stash)) {
165
+ } else if (["integration", 'LNRD', 'HBJK'].includes(this.stash) || this.xiangtan) {
162
166
  url = '/admin-ui/data-share-portal/personal/info'
163
167
  } else if (this.stash === "GZW") {
164
168
  url = '/data-platform/#/info/index'