We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
189 | } 190 | return (<PickerView value={fullSelectedIndexes} className={m-picker-view ${disabled && 'm-picker-view_disabled'} ${className}} style={styles.view} indicatorStyle={height:${styles.indicator.height}} onPickStart={this.props.onPickStart} onPickEnd={this.props.onPickEnd} onChange={this.handleChange}>
m-picker-view ${disabled && 'm-picker-view_disabled'} ${className}
height:${styles.indicator.height}
191 | {normalizedData.map((colData, colIndex) => ( | ^^^^^^^^ 192 | <PickerViewColumn key={column-${colIndex}}> 193 | {colData.map((item, itemIndex) => ( 194 |
column-${colIndex}
The text was updated successfully, but these errors were encountered:
这个不用管哈 不影响
Sorry, something went wrong.
触发规则:render树进行diff时,没有发生变化的element就不做更改
以下情况可忽略此错误:
参考资料
No branches or pull requests
编译小程序时提示:
编译 组件文件 node_modules/mounted/src/components/PickerView/index.tsx
建议修改:使用循环的 index 变量作为 key 是一种反优化。参考:https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-array-index-key.md
189 | }
190 | return (<PickerView value={fullSelectedIndexes} className={
m-picker-view ${disabled && 'm-picker-view_disabled'} ${className}
} style={styles.view} indicatorStyle={height:${styles.indicator.height}
} onPickStart={this.props.onPickStart} onPickEnd={this.props.onPickEnd} onChange={this.handleChange}>The text was updated successfully, but these errors were encountered: