|
@@ -2,11 +2,11 @@ import { useModel } from 'umi'
|
|
|
import { Button, Dropdown, Menu } from 'antd'
|
|
import { Button, Dropdown, Menu } from 'antd'
|
|
|
import { getPermAuthCache, setAuthCache } from '@/utils/auth'
|
|
import { getPermAuthCache, setAuthCache } from '@/utils/auth'
|
|
|
import { PERMISSION_SELECT_KEY } from '@/utils/cache/cacheEnum'
|
|
import { PERMISSION_SELECT_KEY } from '@/utils/cache/cacheEnum'
|
|
|
-import type { SelectProps } from 'antd'
|
|
|
|
|
-import type { MainMenuKeyEnum } from '@/utils/cache/cacheEnum'
|
|
|
|
|
import { DownOutlined } from '@ant-design/icons'
|
|
import { DownOutlined } from '@ant-design/icons'
|
|
|
import { useState } from 'react'
|
|
import { useState } from 'react'
|
|
|
import { useModal } from '@/components/ModalStore'
|
|
import { useModal } from '@/components/ModalStore'
|
|
|
|
|
+import type { MainMenuKeyEnum } from '@/utils/cache/cacheEnum'
|
|
|
|
|
+import type { SelectProps } from 'antd'
|
|
|
|
|
|
|
|
export const PermDataTypeEunm = {
|
|
export const PermDataTypeEunm = {
|
|
|
CUSTOMER: 'customer',
|
|
CUSTOMER: 'customer',
|