Browse Source

初始化bug处理

noToken
安虹睿 1 year ago
parent
commit
09c813ffda
  1. 8
      PC/InterFace.Dash/src/mixins/TableMixins.js

8
PC/InterFace.Dash/src/mixins/TableMixins.js

@ -57,10 +57,10 @@ export const tableMixins = {
// 获取通过api的表头数据,不可以在初始化处理,因为接口返回问题 // 获取通过api的表头数据,不可以在初始化处理,因为接口返回问题
initApiColumns(table,des,detailsTable,detailsPage){ initApiColumns(table,des,detailsTable,detailsPage){
// 赋值表头数据 // 赋值表头数据
this.apiColumns_Table = this.initTableColumns(table[this.$route.name]) if(table && table[this.$route.name])this.apiColumns_Table = this.initTableColumns(table[this.$route.name])
this.apiColumns_DesTions = des[this.$route.name] if(des && des[this.$route.name])this.apiColumns_DesTions = des[this.$route.name]
this.apiColumns_DetailsTable = this.initTableColumns(detailsTable[this.$route.name],'detail_api') if(detailsTable && detailsTable[this.$route.name])this.apiColumns_DetailsTable = this.initTableColumns(detailsTable[this.$route.name],'detail_api')
this.apiColumns_DetailsPage = this.initTableColumns(detailsPage[this.$route.name],'detailPage_api') if(detailsPage && detailsPage[this.$route.name])this.apiColumns_DetailsPage = this.initTableColumns(detailsPage[this.$route.name],'detailPage_api')
}, },
//渲染数据 //渲染数据
paging(callback) { paging(callback) {

Loading…
Cancel
Save