agilebuilder-ui 1.0.49 → 1.0.50

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": "agilebuilder-ui",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
@@ -184,11 +184,17 @@ function getUserPermissionMenusBySystemCode(systemCode) {
184
184
  * @returns
185
185
  */
186
186
  function getDevPlatformPermissions(roleCodes) {
187
+ let systemCode
188
+ if (window.$vueApp.config.globalProperties.customSystem) {
189
+ systemCode = window.$vueApp.config.globalProperties.customSystem
190
+ } else {
191
+ systemCode = window.$vueApp.config.globalProperties.systemCode
192
+ }
187
193
  return request.get(
188
194
  window.$vueApp.config.globalProperties.baseAPI +
189
195
  '/component/devp-permissions?roleCodes=' +roleCodes +
190
196
  '&_t=' +
191
- new Date().getTime()
197
+ new Date().getTime() + '&systemCode=' + systemCode
192
198
  )
193
199
  }
194
200