修改选人组件

This commit is contained in:
sunFlower
2022-10-11 14:20:04 +08:00
parent 4d24e93f98
commit d7aaf663f8
3 changed files with 316 additions and 2 deletions
+3 -1
View File
@@ -11,6 +11,7 @@ import {
CACHE_INCLUDED_ROUTES
} from '@/store/mutation-types'
import { welcome } from '@/utils/util'
import { LZString } from '@/utils/compressedData'
import { queryPermissionsByUser } from '@/api/api'
import { getAction } from '@/api/manage'
@@ -146,7 +147,8 @@ const user = {
// if (!gData) {
// getAction('sys/user/queryUserTreeList', {}).then((res) => {
// if (res.success) {
// localStorage.setItem('gData', JSON.stringify(res.result))
// let index = LZString.compressToUint8Array(JSON.stringify(res.result)).join(',')
// localStorage.setItem('gData', LZString.compressToEncodedURIComponent(index))
// }
// })
// }