修改角度不能设置为小数
This commit is contained in:
parent
946f2dda3f
commit
ed0e427cd3
|
@ -122,7 +122,7 @@
|
||||||
v-if="current_index > -1"
|
v-if="current_index > -1"
|
||||||
type="number"
|
type="number"
|
||||||
min="0"
|
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"
|
v-model="test_monitor_wall[current_index].angle"
|
||||||
@keydown="testLog($event)"
|
@keydown="testLog($event)"
|
||||||
hint=""
|
hint=""
|
||||||
|
|
Loading…
Reference in New Issue