diff --git a/.umirc.ts b/.umirc.ts index 347788d..190286d 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -18,8 +18,8 @@ export default defineConfig({ proxy: { '/api/': { target: 'http://10.39.13.78:8001/', - // target: 'https://gcadmin-test.linyikj.com.cn', - // target: 'http://guocaiservice.com', + // target: 'https://test-admin.linyikj.com.cn/', + // target: 'https://admin.linyikj.com.cn/', changeOrigin: true, pathRewrite: { '^': '' }, }, diff --git a/src/common/components/MyButtons.tsx b/src/common/components/MyButtons.tsx index 16254a3..578a965 100644 --- a/src/common/components/MyButtons.tsx +++ b/src/common/components/MyButtons.tsx @@ -1,9 +1,4 @@ -import { - EditOutlined, - PlusOutlined, - RollbackOutlined, - SaveFilled, -} from '@ant-design/icons'; +import { PlusOutlined, RollbackOutlined, SaveFilled } from '@ant-design/icons'; import { useNavigate } from '@umijs/max'; import { Button, ButtonProps, Dropdown, Popconfirm } from 'antd'; import { MyResponseType } from '..'; @@ -66,7 +61,7 @@ export const MyButtons = { }, Edit({ title = '编辑', ...rest }: MyButtonsType): JSX.Element { return ( - } {...rest}> + ); diff --git a/src/common/libs/umi/layoutConfig.tsx b/src/common/libs/umi/layoutConfig.tsx index 8c1cb91..37ad9a7 100644 --- a/src/common/libs/umi/layoutConfig.tsx +++ b/src/common/libs/umi/layoutConfig.tsx @@ -93,7 +93,14 @@ export const LayoutConfig: RuntimeConfig['layout'] = () => { // 首页 logo logo: (