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 +1 -1
- package/src/api/sso-service.js +7 -1
package/package.json
CHANGED
package/src/api/sso-service.js
CHANGED
|
@@ -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
|
|