Function default value not working normally in react native

后端 未结 0 763
耶瑟儿~
耶瑟儿~ 2021-01-27 01:01

So, I have this asynchronous function

 loadData = async (value=1) => {
        await this.loadSalesData(value);

it works fine when I pass a va

相关标签:
回答
  • 消灭零回复
提交回复
热议问题