forked from github/dataease
fix: 前端报错
This commit is contained in:
parent
c2da4248a1
commit
ba549dc5b6
@ -710,7 +710,7 @@ export default {
|
||||
clearPanelLinkage(param) {
|
||||
if (param.viewId === 'all' || param.viewId === this.element.propValue.viewId) {
|
||||
try {
|
||||
this.$refs[this.element.propValue.id].reDrawView()
|
||||
this.$refs[this.element.propValue.id]?.reDrawView()
|
||||
} catch (e) {
|
||||
console.error('reDrawView-error:', this.element.propValue.id)
|
||||
}
|
||||
|
@ -755,7 +755,7 @@ export default {
|
||||
type = 'NUM'
|
||||
}
|
||||
datasetParams(tableId, type).then(res => {
|
||||
this.datasetParams = res.data
|
||||
this.datasetParams = res.data || []
|
||||
})
|
||||
},
|
||||
comLoadField(tableId) {
|
||||
|
Loading…
Reference in New Issue
Block a user