adtec-core-package 0.7.6 → 0.7.7

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": "adtec-core-package",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -4,9 +4,8 @@ import type { ISysDictDataCacheVo } from '../interface/ISysDictDataCacheVo'
4
4
  import { type dictDataMapVoType, dictStore } from '../stores/dictStore'
5
5
  import { storeToRefs } from 'pinia'
6
6
  import { userInfoStore } from '../stores/userInfoStore.ts'
7
-
8
- const userInfo = userInfoStore()
9
7
  export default function useDictHooks(dictTypes?: string[], orgId?: string) {
8
+ const userInfo = userInfoStore()
10
9
  const dictStores = dictStore()
11
10
  const { clearDictCache } = dictStores
12
11
  const { dictMap, dictDefaultValueMap, dictDataMap } = storeToRefs(dictStores)