Browse Source

特殊表头bug处理

noToken
安虹睿 1 year ago
parent
commit
ae5a061121
  1. 5
      PC/UI.WinIn.FasterZ.Store/src/mixins/TableMixins.js

5
PC/UI.WinIn.FasterZ.Store/src/mixins/TableMixins.js

@ -171,7 +171,7 @@ export const tableMixins = {
}
})
}
if(list && list.length > 0){
if(list){
_Columns_Table = _Columns_Table.concat(this.specialAddColumns(list,titleName))
}
return _Columns_Table
@ -249,7 +249,8 @@ export const tableMixins = {
getPageList(this.PageListParams, this.URLOption_base)
.then(res=>{
// 表头处理
let _Columns = this.initApiColumnsForDto(res.items[0],this.$route.name)
let _list = res.items && res.items.length > 0 ? res.items[0] : null
let _Columns = this.initApiColumnsForDto(_list,this.$route.name)
this.apiColumns_Table = this.initTableColumns(_Columns)
this.apiColumns_DesTions = _Columns
// 页面数据处理

Loading…
Cancel
Save