Skip to content

Commit

Permalink
Fixed Meter change issue (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-egge authored Jan 2, 2024
1 parent 5c20b19 commit c7818d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/view/modals/edit_card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
ref="submeters"
v-model="form.sets[currentIndex].meter"
style="width: 100%"
@change="form[currentIndex].point = null"
@change="form.sets[currentIndex].point = meterPoints[0].value"
>
<el-option v-for="item in meters" :key="item.path" :label="item.name" :value="item.path"></el-option>
</el-select>
Expand Down Expand Up @@ -214,7 +214,7 @@
ref="submeters"
v-model="form.sets[currentIndex].meter"
style="width: 100%"
@change="form[currentIndex].point = null"
@change="form.sets[currentIndex].point = meterPoints[0].value"
>
<el-option v-for="item in meters" :key="item.path" :label="item.name" :value="item.path"></el-option>
</el-select>
Expand Down

0 comments on commit c7818d2

Please sign in to comment.