Merge pull request #2998 from dataease/pr@dev@fix_view-details

fix(仪表板): 修复查看视图明细出现object情况
This commit is contained in:
王嘉豪 2022-08-30 18:38:57 +08:00 committed by GitHub
commit 6aa8080132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,6 +200,13 @@ export default {
datas = [] datas = []
this.resetPage() this.resetPage()
} }
datas.forEach(item =>{
Object.keys(item).forEach(key=> {
if(typeof item[key] === 'object'){
item[key] = ""
}
})
})
this.$refs.plxTable.reloadData(datas) this.$refs.plxTable.reloadData(datas)
this.$nextTick(() => { this.$nextTick(() => {
this.initStyle() this.initStyle()