diff --git a/components/apolloTable/component/base/edit/rate/index.tsx b/components/apolloTable/component/base/edit/rate/index.tsx index 50c001234a8daab8ccc7eec217d3b9d5597512df..99eb39ab0a2e15c01d3b4d55cb9bbbd80fd2b5e4 100644 --- a/components/apolloTable/component/base/edit/rate/index.tsx +++ b/components/apolloTable/component/base/edit/rate/index.tsx @@ -3,6 +3,7 @@ import { Rate } from 'antd'; import { antiAssign } from '../../../../utils/utils'; import s from './index.less'; import { ApolloRateProps } from '../editInterface'; +import { onBlurFn } from '../onBlurFn'; export const ApolloRate = (props: ApolloRateProps) => { const { onChange } = props; @@ -14,10 +15,14 @@ export const ApolloRate = (props: ApolloRateProps) => { 'maxPopHeight', 'getCalendarContainer', 'getCalendarContainer', + 'origin', ]); const changeValue = (value) => { if (typeof onChange === 'function') { + if (typeof onBlurFn === 'function') { + onBlurFn({ ...props, value }); + } onChange(value); } };