Skip to content

Commit

Permalink
fix(table): use better style import funtion
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Sep 20, 2022
1 parent be6ab65 commit 8ce8d5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 5 additions & 1 deletion packages/table/src/Table.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/* eslint max-classes-per-file: ["error", 3] */
// 兼容代码-----------
import 'antd/es/table/style';
import 'antd/es/alert/style';
//----------------------

import ProCard from '@ant-design/pro-card';
import ProForm from '@ant-design/pro-form';
import type { ParamsType } from '@ant-design/pro-provider';
Expand Down
5 changes: 0 additions & 5 deletions packages/table/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// 兼容代码-----------
import 'antd/es/table/style';
import 'antd/es/alert/style';
//----------------------

import { FieldIndexColumn, FieldStatus } from '@ant-design/pro-field';
import type { IntlType } from '@ant-design/pro-provider';
import {
Expand Down

0 comments on commit 8ce8d5a

Please sign in to comment.