Skip to content

Commit

Permalink
fixed(monitoring、tag): removed default value on write && the value ra…
Browse files Browse the repository at this point in the history
…nge of tag's decimal is relaxed
  • Loading branch information
orangegzx authored and ysfscream committed Sep 15, 2022
1 parent 66bc2e0 commit d9705fe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/views/config/southDriver/components/TagForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<emqx-col :span="12">
<emqx-form-item :label="$t('config.decimal')" prop="decimal">
<emqx-input-number v-model="form.decimal" :step="0.1" :min="0" controls-position="right" />
<emqx-input-number v-model="form.decimal" :step="0.1" controls-position="right" />
</emqx-form-item>
</emqx-col>

Expand Down
1 change: 0 additions & 1 deletion src/views/monitoring/DataMonitoring.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
</div>
</div>
</div>

<div class="table-container">
<emqx-table :data="tableData" :empty-text="tableEmptyText">
<emqx-table-column prop="tagName" :label="$t('common.name')" min-width="100"></emqx-table-column>
Expand Down
2 changes: 1 addition & 1 deletion src/views/monitoring/components/WriteDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ watch(showDialog, (val) => {
if (!props.group || !props.tag) {
return
}
inputValue.value = props.tag.value
inputValue.value = ''
} else {
inputErrorMsg.value = ''
isUseHexadecimal.value = false
Expand Down

0 comments on commit d9705fe

Please sign in to comment.