update 菜单功能样式
This commit is contained in:
@@ -277,7 +277,7 @@ export default class QueryTable extends Component {
|
||||
|
||||
const { loading, dataSource, type } = this.state
|
||||
|
||||
const { query, operator, columns } = this.props
|
||||
const { query, operator, columns, expandable, expandedRowRender } = this.props
|
||||
|
||||
const attrs = {}
|
||||
Object.keys(this.props).forEach(key => {
|
||||
@@ -292,7 +292,7 @@ export default class QueryTable extends Component {
|
||||
dataSource,
|
||||
columns: (() => {
|
||||
const c = []
|
||||
if (type !== 'tree' && rowNumber) {
|
||||
if (type !== 'tree' && rowNumber & !expandable & !expandedRowRender) {
|
||||
c.push(rowNoColumn)
|
||||
}
|
||||
c.push(...(columns || []))
|
||||
|
||||
Reference in New Issue
Block a user