imatrix-ui 0.2.53-up → 0.2.54-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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imatrix-ui",
3
- "version": "0.2.53-up",
3
+ "version": "0.2.54-up",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -83,6 +83,8 @@ export default {
83
83
  platBackendUrl: authApi.getSessionCache(backendUrlKey),
84
84
  devpJWT: authApi.getSessionCache(devpJWTKey),
85
85
  currentRole: authApi.getSessionCache(currentRoleKey),
86
+ runDevpJWTKey,
87
+ runDevpJWT: authApi.getSessionCache(runDevpJWTKey),
86
88
  };
87
89
  },
88
90
  methods: {
@@ -141,14 +143,14 @@ export default {
141
143
  }
142
144
  routePath = routePath + this.devpJWTKey + '=' + this.devpJWT
143
145
  }
144
- if(runDevpJWTKey) {
146
+ if(this.runDevpJWT) {
145
147
  // 运行平台点击菜单时封装jwt参数
146
148
  if (routePath.indexOf("?") > 0) {
147
149
  routePath += "&"
148
150
  } else {
149
151
  routePath += "?"
150
152
  }
151
- routePath = routePath + this.devpJWTKey + '=' + this.devpJWT
153
+ routePath = routePath + this.devpJWTKey + '=' + this.runDevpJWT
152
154
  }
153
155
  if (this.currentRole) {
154
156
  // 开发平台中访问运行平台的菜单需要的参数