custom/领悦业务线

This commit is contained in:
lys 2025-03-11 10:41:06 +08:00
parent 5f05f785b4
commit ddbe68d72d
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ class GenerateDataDialog extends Component {
if (nextProps.visible !== this.props.visible && !nextProps.visible) nextProps.LYStore.initDataForm();
}
initLYForm = () => {
const { type } = props;
initLYForm = (props) => {
const { type } = props || this.props;
this.setState({
conditions: _.map(dataConditions, item => ({
...item,