openatc-components 0.1.17 → 0.1.19

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.
@@ -23,7 +23,7 @@ import ExpendConfig from './components/ExpendConfig/index'
23
23
  import PatternWalkSvg from './components/PatternWalkSvg/index'
24
24
  import tentativeplancontrolmodal from './components/SchemeConfig/tentativeplancontrolmodal/index'
25
25
  import priorityControl from './components/SchemeConfig/priorityControl/index'
26
- import { setToken, setHost } from '../utils/auth.js'
26
+ import { setToken, setHost, setIsCheckPermission, setUserRoles, setPermissions } from '../utils/auth.js'
27
27
  import componentsGlobalParam from '../store/modules/globalParam'
28
28
 
29
29
  import en from '../i18n/language/en'
@@ -65,7 +65,10 @@ const language = {
65
65
 
66
66
  const func = {
67
67
  setHost,
68
- setToken
68
+ setToken,
69
+ setUserRoles,
70
+ setPermissions,
71
+ setIsCheckPermission
69
72
  }
70
73
 
71
74
  const Store = {