回复 (3)
T
const todos = this.props.todos;
const actions = this.props.actions;
建议你先看看 ES6 入门.
Y
ES6 的 destructuring
C
谢谢!
明白了,代码的作用我能猜出来,就是不知道叫 “destructuring” :(
参与回复
登录后即可参与回复。登录
const todos = this.props.todos;
const actions = this.props.actions;
建议你先看看 ES6 入门.
ES6 的 destructuring
谢谢!
明白了,代码的作用我能猜出来,就是不知道叫 “destructuring” :(