fix(client): build error
This commit is contained in:
parent
efc4301be6
commit
5156cda89f
@ -1,11 +1,11 @@
|
||||
import { onFormValuesChange } from '@formily/core';
|
||||
import { connect, mapReadPretty, useFieldSchema, useFormEffects } from '@formily/react';
|
||||
import { InputNumber } from 'antd';
|
||||
import React, { useState } from 'react';
|
||||
import * as math from 'mathjs';
|
||||
import _ from 'lodash';
|
||||
import * as math from 'mathjs';
|
||||
import React, { useState } from 'react';
|
||||
import { useCollection } from '../../../collection-manager/hooks';
|
||||
import { ReadPretty } from '../input-number/ReadPretty';
|
||||
import { useCollection, useCollectionField } from '../../../collection-manager/hooks';
|
||||
|
||||
const AntdCompute = (props) => {
|
||||
const { value, onChange, step } = props;
|
||||
|
@ -1,14 +1,9 @@
|
||||
import { CloseOutlined, LoadingOutlined } from '@ant-design/icons';
|
||||
import { useFormLayout } from '@formily/antd';
|
||||
import { connect, mapProps, mapReadPretty, useFieldSchema } from '@formily/react';
|
||||
import { isValid } from '@formily/shared';
|
||||
import { useRecord } from '@nocobase/client';
|
||||
import { Button, Input, Popover, Tag, Menu, Dropdown } from 'antd';
|
||||
import { connect, mapProps } from '@formily/react';
|
||||
import { Dropdown, Menu } from 'antd';
|
||||
import React, { useEffect, useRef, useState } from 'react';
|
||||
import ContentEditable from 'react-contenteditable';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useCollectionManager } from '../../../collection-manager/hooks';
|
||||
import { hasIcon, Icon, icons } from '../../../icon';
|
||||
import { useRecord } from '../../../record-provider';
|
||||
|
||||
const AntdFormulaInput = (props) => {
|
||||
const { value, onChange } = props;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { FormulaInput } from './FormulaInput';
|
||||
import { Compute } from './Compute';
|
||||
import { FormulaInput } from './FormulaInput';
|
||||
|
||||
export const Formula: any = () => null;
|
||||
Formula.Expression = FormulaInput;
|
||||
|
Loading…
Reference in New Issue
Block a user