diff --git a/src/components/drawer/index.jsx b/src/components/drawer/index.jsx index fe287ce..436325c 100644 --- a/src/components/drawer/index.jsx +++ b/src/components/drawer/index.jsx @@ -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); }