README
API
属性 | 说明 | 类型 | 默认值 |
---|---|---|---|
expandRegion | 过滤数据类型 | Objiect | --- |
extraData | 数据格式 | Array | --- |
example
import React, { Component } from 'react'
import PpsTab from 'ux-pps-tab'
export default class extends Component {
render () {
const options = {
expandRegion:{
mode:filter //数据过滤,其它的点击item数据刷新
},
extraData: [
{
"Title": "待增员(3969)",
"IsClick": false,
"ViewName": "Compensation.SocialSecurityProfilePendingAddListView"
},
{
"Title": "待减员(256)",
"IsClick": true,
"ViewName": "Compensation.SocialSecurityProfilePendingSubtractListView"
},{
"Title": "待减员(256)",
"IsClick": true,
"ViewName": "Compensation.SocialSecurityProfilePendingSubtractListView"
}
]
}
return <PpsTab {...options} />
}
}
ps: 该组件是pps,切换简卡