mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 18:38:16 +08:00
fix(视图): 修复没有指标时编辑辅助线报错
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user