修改角度不能设置为小数
This commit is contained in:
parent
946f2dda3f
commit
ed0e427cd3
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue