fix: remove antd/dist/antd.css
This commit is contained in:
parent
cb3e171b31
commit
06a75d31a5
@ -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();
|
||||||
|
@ -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 = {
|
||||||
|
@ -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(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user