fix: remove antd/dist/antd.css

This commit is contained in:
chenos 2022-01-17 23:04:55 +08:00
parent cb3e171b31
commit 06a75d31a5
3 changed files with 0 additions and 3 deletions

View File

@ -2,7 +2,6 @@ import React from 'react';
import { observer, ISchema, useForm } from '@formily/react'; import { observer, ISchema, useForm } from '@formily/react';
import { SchemaComponent, SchemaComponentProvider, Form, Action, useActionVisible } from '@nocobase/client'; import { SchemaComponent, SchemaComponentProvider, Form, Action, useActionVisible } from '@nocobase/client';
import { FormItem, Input } from '@formily/antd'; import { FormItem, Input } from '@formily/antd';
import 'antd/dist/antd.css';
const useCloseAction = () => { const useCloseAction = () => {
const { setVisible } = useActionVisible(); const { setVisible } = useActionVisible();

View File

@ -2,7 +2,6 @@ import React from 'react';
import { observer, ISchema } from '@formily/react'; import { observer, ISchema } from '@formily/react';
import { SchemaComponent, SchemaComponentProvider, Form, Action, useCloseAction } from '@nocobase/client'; import { SchemaComponent, SchemaComponentProvider, Form, Action, useCloseAction } from '@nocobase/client';
import { FormItem, Input } from '@formily/antd'; import { FormItem, Input } from '@formily/antd';
import 'antd/dist/antd.css';
export default observer(() => { export default observer(() => {
const schema: ISchema = { const schema: ISchema = {

View File

@ -1,7 +1,6 @@
import React from 'react'; import React from 'react';
import { observer, ISchema, useForm } from '@formily/react'; import { observer, ISchema, useForm } from '@formily/react';
import { SchemaComponent, SchemaComponentProvider, Form, Action } from '@nocobase/client'; import { SchemaComponent, SchemaComponentProvider, Form, Action } from '@nocobase/client';
import 'antd/dist/antd.css';
import { FormItem, Input } from '@formily/antd'; import { FormItem, Input } from '@formily/antd';
export default observer(() => { export default observer(() => {