如果这样设置state
this.state = { a: 1, b: {} };

 

那么如何读取这些东西
let { a, b: { sth1 = 0, sth2 = 0 }={} } = this.state;

 

漫思