<View key={item.fundtype} className={item.type === props.tabActive? styles['tab-item',…
Jump to turn (13)
- 1{ item.name }
- 2如果需要给className设置两个样式 需要怎么写 更多
- 3应为“}”。ts(1005)
- 4还需要加反引号 不然会报错
- 5useState
- 6如何升级cli-service
- 7无法写入文件“/Users/pipil/Desktop/piper/projects/foottrace/src/services/uni-funds-ts.s
- 8无法写入文件“/Users/pipil/Desktop/piper/projects/foottrace/src/services/uni-funds-ts.s
- 9第二个方法不生效
- 10pnpm-lo ck.yaml
- 11无法打开“胖鱼.app”,因为无法验证开发者。
- 12不行 无法打开“胖鱼.app”,因为无法验证开发者。
- 13Can't resolve 'tslib' in '/builds/fund-weex/foottrace/src/utils'
- User
<View key={item.fundtype} className={item.type === props.tabActive? styles['tab-item', 'active']: styles['tab-item']} data-type={item.type} data-fundtype={item.fundtype} data-name={item.name} onClick={checkMoreTab} >{ item.name }
- Assistant
This is a React component that renders a clickable element with some data attributes and a click handler.
The component receives some properties (props), including an item object with several properties:
- fundtype: a string that represents the type of fund
- type: a string that represents the type of tab
- name: a string that represents the name of the tab