修改角度不能设置为小数

This commit is contained in:
miao 2023-03-08 17:35:21 +08:00
parent 946f2dda3f
commit ed0e427cd3
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@
v-if="current_index > -1"
type="number"
min="0"
oninput="if(value<0)value=0;if(value>360)value=parseInt(value/10);"
oninput="if(value<0)value=0;if(value>360)value=(value/10);if(value>=0&value<=360)value=Math.floor(value)"
v-model="test_monitor_wall[current_index].angle"
@keydown="testLog($event)"
hint=""