n20-common-lib 1.3.160 → 1.3.161
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/index.js +1 -1
- package/src/utils/asyncGetRelaNos.js +1 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -95,7 +95,7 @@ import forEachs from './utils/forEachs'
|
|
|
95
95
|
import list2tree from './utils/list2tree'
|
|
96
96
|
import { has as isHas } from './directives/VHas/index.js'
|
|
97
97
|
import { hasG as isHasG } from './directives/VHas/index.js'
|
|
98
|
-
import asyncGetRelaNos from './utils/
|
|
98
|
+
import asyncGetRelaNos from './utils/asyncGetRelaNos.js'
|
|
99
99
|
|
|
100
100
|
/** 国际化 */
|
|
101
101
|
import i18n, { $l } from './utils/i18n'
|
|
@@ -3,6 +3,7 @@ import axios from './axios'
|
|
|
3
3
|
// 按需/按模块 加载权限
|
|
4
4
|
async function asyncGetRelaNos(appNo, rns) {
|
|
5
5
|
let uno = sessionStorage.getItem('userNo')
|
|
6
|
+
if (['system1', 'audit1'].includes(uno)) return
|
|
6
7
|
|
|
7
8
|
let { data } = await axios.post('/bems/prod_1.0/user/api/userController/qryBusyInfoNo?r=' + Math.random(), {
|
|
8
9
|
uno: uno,
|