fix(client): build error

This commit is contained in:
chenos 2022-06-02 14:43:42 +08:00
parent efc4301be6
commit 5156cda89f
3 changed files with 7 additions and 12 deletions

View File

@ -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;

View File

@ -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;

View File

@ -1,5 +1,5 @@
import { FormulaInput } from './FormulaInput';
import { Compute } from './Compute';
import { FormulaInput } from './FormulaInput';
export const Formula: any = () => null;
Formula.Expression = FormulaInput;