@@ -8,9 +8,9 @@ import React, {useState} from 'react';
88import { Button } from 'antd' ;
99import { PlusOutlined } from '@ant-design/icons' ;
1010import PropTypes from 'prop-types' ;
11- import { VariableUpdateInputForm } from './VariableUpdateInputForm .jsx' ;
11+ import { VariableUpdaterInputForm } from './VariableUpdaterInputForm .jsx' ;
1212import { useTranslation } from 'react-i18next' ;
13- import './variableUpdate .css' ;
13+ import './variableUpdater .css' ;
1414import { useConfigContext , useDispatch } from '@/components/DefaultRoot.jsx' ;
1515import { v4 as uuidv4 } from 'uuid' ;
1616
@@ -21,7 +21,7 @@ import {v4 as uuidv4} from 'uuid';
2121 * @param shapeStatus 图形状态集合.
2222 * @returns {JSX.Element } DOM对象.
2323 */
24- const _VariableUpdateWrapper = ( { data, shapeStatus} ) => {
24+ const _VariableUpdaterWrapper = ( { data, shapeStatus} ) => {
2525 const { t} = useTranslation ( ) ;
2626 const dispatch = useDispatch ( ) ;
2727 const isConfig = useConfigContext ( ) ;
@@ -60,13 +60,13 @@ const _VariableUpdateWrapper = ({data, shapeStatus}) => {
6060 < div className = "jade-panel-header-font" style = { { paddingLeft : '4px' } } > { t ( 'add' ) } </ div >
6161 </ Button >
6262 </ div >
63- < VariableUpdateInputForm variables = { variables } shapeStatus = { shapeStatus } />
63+ < VariableUpdaterInputForm variables = { variables } shapeStatus = { shapeStatus } />
6464 </ div >
6565 </ > ) ;
6666} ;
6767
68- _VariableUpdateWrapper . propTypes = {
68+ _VariableUpdaterWrapper . propTypes = {
6969 data : PropTypes . object . isRequired , shapeStatus : PropTypes . object ,
7070} ;
7171
72- export const VariableUpdateWrapper = React . memo ( _VariableUpdateWrapper ) ;
72+ export const VariableUpdaterWrapper = React . memo ( _VariableUpdaterWrapper ) ;
0 commit comments