Showing
7 changed files
with
7 additions
and
6 deletions
| ... | ... | @@ -7,6 +7,7 @@ export * from './qx-user-selector'; |
| 7 | 7 | export * from './qx-form-select'; |
| 8 | 8 | export * from './qx-app-selector'; |
| 9 | 9 | export * from './utils'; |
| 10 | +export * from './qx-field'; | |
| 10 | 11 | |
| 11 | 12 | // export * from './qx-btn'; |
| 12 | 13 | // export { default as FieldSetter } from './qx-field-setter'; | ... | ... |
| ... | ... | @@ -3,7 +3,7 @@ import { Divider, Input, Menu, Popover } from 'antd'; |
| 3 | 3 | import * as React from 'react'; |
| 4 | 4 | import type { ReactElement } from 'react'; |
| 5 | 5 | import { useEffect, useState } from 'react'; |
| 6 | -import QxFieldItem from '../qx-field/src/item'; | |
| 6 | +import { QxFieldItem } from '@qx/common'; | |
| 7 | 7 | import { useDebounceFn } from 'ahooks'; |
| 8 | 8 | import { isEmpty } from 'lodash-es'; |
| 9 | 9 | import { QxBaseIcon } from '@qx/common'; | ... | ... |
| ... | ... | @@ -4,7 +4,7 @@ import * as React from 'react'; |
| 4 | 4 | import { FC, ReactElement, useEffect, useState } from 'react'; |
| 5 | 5 | import type { OptionField } from '../type'; |
| 6 | 6 | import { getUsefulFieldProp } from '../util'; |
| 7 | -import QxFieldItem from '../item'; | |
| 7 | +import { QxFieldItem } from '@qx/common'; | |
| 8 | 8 | import './style.less'; |
| 9 | 9 | import Checkbox from 'antd/es/checkbox/Checkbox'; |
| 10 | 10 | import {QxBaseIcon} from '@qx/common'; | ... | ... |
| ... | ... | @@ -6,7 +6,7 @@ import { useEffect, useState } from 'react'; |
| 6 | 6 | import type { OptionField } from '../type'; |
| 7 | 7 | import { getUsefulFieldProp } from '../util'; |
| 8 | 8 | // import {flatFields, getUsefulFieldProp} from '../util'; |
| 9 | -import QxFieldItem from '../item'; | |
| 9 | +import { QxFieldItem } from '@qx/common'; | |
| 10 | 10 | import {QxBaseIcon} from '@qx/common'; |
| 11 | 11 | import './style.less'; |
| 12 | 12 | import { useDebounceFn } from 'ahooks'; | ... | ... |
| ... | ... | @@ -3,7 +3,7 @@ import * as React from 'react'; |
| 3 | 3 | import { useEffect, useState } from 'react'; |
| 4 | 4 | import type { OptionField, WidgetField } from '../type'; |
| 5 | 5 | import { getUsefulFieldProp } from '../util'; |
| 6 | -import QxFieldItem from '../item'; | |
| 6 | +import { QxFieldItem } from '@qx/common'; | |
| 7 | 7 | import { useLocation } from 'react-router'; |
| 8 | 8 | import { getFieldOptions } from '../../service'; |
| 9 | 9 | import './style.less'; | ... | ... |
| ... | ... | @@ -96,7 +96,7 @@ export const QxFormSelect: React.FC<FormSelectProps> = (props) => { |
| 96 | 96 | modalProps={{ |
| 97 | 97 | width: 550, |
| 98 | 98 | destroyOnClose: true, |
| 99 | - visible: state.modalVisible, | |
| 99 | + open: state.modalVisible, | |
| 100 | 100 | onOk: () => setState({ modalVisible: false }), |
| 101 | 101 | onCancel: () => setState({ modalVisible: false }), |
| 102 | 102 | }} | ... | ... |