imatrix-ui 0.2.52-up → 0.2.53-up
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
|
@@ -74,6 +74,7 @@ export default {
|
|
|
74
74
|
let backendUrlKey = '_PLAT_FORM_BACKEND_URL'
|
|
75
75
|
let devpJWTKey = '_devpJWT'
|
|
76
76
|
let currentRoleKey = '_CURRENT_ROLE'
|
|
77
|
+
let runDevpJWTKey = '_runDevpJWT'
|
|
77
78
|
return {
|
|
78
79
|
onlyOneChild: null,
|
|
79
80
|
devpJWTKey,
|
|
@@ -140,6 +141,15 @@ export default {
|
|
|
140
141
|
}
|
|
141
142
|
routePath = routePath + this.devpJWTKey + '=' + this.devpJWT
|
|
142
143
|
}
|
|
144
|
+
if(runDevpJWTKey) {
|
|
145
|
+
// 运行平台点击菜单时封装jwt参数
|
|
146
|
+
if (routePath.indexOf("?") > 0) {
|
|
147
|
+
routePath += "&"
|
|
148
|
+
} else {
|
|
149
|
+
routePath += "?"
|
|
150
|
+
}
|
|
151
|
+
routePath = routePath + this.devpJWTKey + '=' + this.devpJWT
|
|
152
|
+
}
|
|
143
153
|
if (this.currentRole) {
|
|
144
154
|
// 开发平台中访问运行平台的菜单需要的参数
|
|
145
155
|
if (routePath.indexOf("?") > 0) {
|