Browse Source

初始默认值

Karsa 10 months ago
parent
commit
968e09bebf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/dataEntry_manage/components/addMarkerDialog.vue

+ 1 - 1
src/views/dataEntry_manage/components/addMarkerDialog.vue

@@ -260,7 +260,7 @@ export default {
 
 
         this.markerForm = {
         this.markerForm = {
           axis: this.canSelectLeftYaxis?1:0,
           axis: this.canSelectLeftYaxis?1:0,
-          axisName:this.axisLabelMap[this.markerForm.axis],
+          axisName:this.axisLabelMap[this.canSelectLeftYaxis?1:0],
           value: '',
           value: '',
           from: '',
           from: '',
           to:'',
           to:'',