add blank judgement for forms; fixing setstate bug in detailframework

This commit is contained in:
Dawn1Ocean
2024-03-15 13:42:16 +08:00
parent 2d5ce655ef
commit 6b554196b3
6 changed files with 62 additions and 17 deletions
@@ -80,10 +80,10 @@ export default class DetailFramework extends Component<
}
const status = this.state.ticketInfo.status;
this.setState({
current: mapStatusStep.get(status) || 0,
items: pt.get().ticketDetail.stepItems,
});
// this.setState({
// current: mapStatusStep.get(status) || 0,
// items: pt.get().ticketDetail.stepItems,
// });
const elements: ShowElements = {
device: this.props.isInfoShow['device'] ? (