(this.props.todos || []).map(() => {})

这样可以避免 undefined 或者 null 不能map的问题