多语言遗留问题修复

This commit is contained in:
Chengliang 2024-11-06 16:40:58 +08:00
parent dce9480ee9
commit 8e8569110e
1 changed files with 2 additions and 0 deletions

View File

@ -367,6 +367,7 @@ export default class DrawerComponents extends React.Component {
};
onStatusChange = (checkedValues) => {
const { labelData } = this.props;
if (checkedValues.length === 0) {
return message.error(`${getLabel(547728, labelData)}`, 2);
}
@ -384,6 +385,7 @@ export default class DrawerComponents extends React.Component {
};
onTypeChange = (checkedValues) => {
const { labelData } = this.props;
if (this.state.showJob) {
return message.error(`${getLabel(547729, labelData)}`, 2);
}