forked from github/dataease
Merge pull request #3234 from dataease/pr@dev@fix_assist
fix(视图): 修复没有指标时编辑辅助线报错
This commit is contained in:
commit
d9f9207f15
@ -124,7 +124,7 @@ export default {
|
||||
addLine() {
|
||||
const obj = { ...this.lineObj,
|
||||
curField: this.quotaData ? this.quotaData[0] : null,
|
||||
fieldId: this.quotaData ? this.quotaData[0].id : null
|
||||
fieldId: this.quotaData ? this.quotaData[0]?.id : null
|
||||
}
|
||||
this.lineArr.push(JSON.parse(JSON.stringify(obj)))
|
||||
this.changeAssistLine()
|
||||
|
Loading…
Reference in New Issue
Block a user