fix: 坐标设置负值失效

This commit is contained in:
pipipi-pikachu 2025-01-01 19:34:57 +08:00
parent b09b3559df
commit 29805c8c44

View File

@ -28,6 +28,7 @@
<div class="row"> <div class="row">
<NumberInput <NumberInput
:min="-1000"
:step="5" :step="5"
:value="left" :value="left"
@update:value="value => updateLeft(value)" @update:value="value => updateLeft(value)"
@ -39,6 +40,7 @@
</NumberInput> </NumberInput>
<div style="width: 10%;"></div> <div style="width: 10%;"></div>
<NumberInput <NumberInput
:min="-1000"
:step="5" :step="5"
:value="top" :value="top"
@update:value="value => updateTop(value)" @update:value="value => updateTop(value)"