agilebuilder-ui 1.0.89 → 1.0.90-temp2
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/lib/super-ui.css +1 -1
- package/lib/super-ui.js +45 -89
- package/lib/super-ui.umd.cjs +3 -3
- package/package.json +1 -1
- package/packages/super-grid/src/dynamic-input.vue +14 -12
- package/packages/super-grid/src/normal-column-content.vue +16 -15
- package/packages/super-grid/src/normal-column.vue +8 -16
- package/packages/super-grid/src/utils.js +5 -9
- package/packages/super-nine-grid/src/super-nine-grid.vue +1032 -1143
- package/src/api/sso-service.js +1 -1
- package/src/directives/permission/permission.js +4 -3
- package/src/utils/i18n-util.js +4 -0
package/src/api/sso-service.js
CHANGED
|
@@ -65,7 +65,7 @@ function getCurrentUserPermissionsBySystem(loginName, systemCode) {
|
|
|
65
65
|
if(isMobileBrowser()){
|
|
66
66
|
return getCurrentUserMobilePermissions(loginName)
|
|
67
67
|
} else {
|
|
68
|
-
if (!systemCode) {
|
|
68
|
+
if (!systemCode || systemCode+'' === 'null') {
|
|
69
69
|
if (window.$vueApp.config.globalProperties.customSystem) {
|
|
70
70
|
systemCode = window.$vueApp.config.globalProperties.customSystem
|
|
71
71
|
} else {
|
|
@@ -12,9 +12,10 @@ export default {
|
|
|
12
12
|
el.parentNode && el.parentNode.removeChild(el)
|
|
13
13
|
}
|
|
14
14
|
} else {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
console.log( `need permission1! Like v-permission="acs.department.save"`)
|
|
16
|
+
// throw new Error(
|
|
17
|
+
// `need permission1! Like v-permission="acs.department.save"`
|
|
18
|
+
// )
|
|
18
19
|
}
|
|
19
20
|
},
|
|
20
21
|
}
|
package/src/utils/i18n-util.js
CHANGED
|
@@ -122,6 +122,10 @@ function setI18nFileVersion(version) {
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
function getI18nFileVersion() {
|
|
125
|
+
const version = window.localStorage.getItem('i18nFileVersion')
|
|
126
|
+
if (version === 'undefined' || version === 'null') {
|
|
127
|
+
return null
|
|
128
|
+
}
|
|
125
129
|
return window.localStorage.getItem('i18nFileVersion')
|
|
126
130
|
}
|
|
127
131
|
|