module-menu-vue 0.3.31 → 0.3.33
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
|
@@ -61,6 +61,10 @@ export default {
|
|
|
61
61
|
stash: {
|
|
62
62
|
type: String,
|
|
63
63
|
default: ''
|
|
64
|
+
},
|
|
65
|
+
xiangtan: {
|
|
66
|
+
type: Boolean,
|
|
67
|
+
default: false,
|
|
64
68
|
}
|
|
65
69
|
},
|
|
66
70
|
watch: {
|
|
@@ -115,7 +119,11 @@ export default {
|
|
|
115
119
|
} else if (!["integration", 'LNRD', 'HBJK'].includes(this.stash)) {
|
|
116
120
|
url = `/#${this.systemPath}`
|
|
117
121
|
}
|
|
118
|
-
|
|
122
|
+
if (this.xiangtan) {
|
|
123
|
+
window.open(url, '_blank')
|
|
124
|
+
} else {
|
|
125
|
+
location.href = url
|
|
126
|
+
}
|
|
119
127
|
}
|
|
120
128
|
},
|
|
121
129
|
async getSessionMenu () {
|
|
@@ -288,6 +296,8 @@ export default {
|
|
|
288
296
|
}
|
|
289
297
|
if (['平台运行总览', '知识图谱', '数据可视化', '数据填报', '标签分析', '数据直报', '机器学习组件'].includes(nameStr)) {
|
|
290
298
|
window.open(thirdPartyServiceJumpPath, '_blank')
|
|
299
|
+
} else if (this.xiangtan) {
|
|
300
|
+
window.open(thirdPartyServiceJumpPath, '_blank')
|
|
291
301
|
} else {
|
|
292
302
|
location.href = thirdPartyServiceJumpPath
|
|
293
303
|
}
|
|
@@ -305,7 +315,11 @@ export default {
|
|
|
305
315
|
} else {
|
|
306
316
|
url = '/#/index'
|
|
307
317
|
}
|
|
308
|
-
|
|
318
|
+
if (this.xiangtan) {
|
|
319
|
+
window.open(url, '_blank')
|
|
320
|
+
} else {
|
|
321
|
+
location.href = url
|
|
322
|
+
}
|
|
309
323
|
}
|
|
310
324
|
},
|
|
311
325
|
getNewMenuList () {
|