Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_fetch1(c, current) {
// fetch data
this.setState({current1: current});
Message.info(`current page: ${current}`);
}
cancel() {
Message.info('Clicked cancel!');
}
showMessage1() {
Message.info('close after 10s', 10000);
}
showMessage2() {
Message.info('stick message', 0);
}
_fetch2({current, limit}) {
Message.info(`current page: ${current}, limit: ${limit}`);
}