This commit is contained in:
kron
2025-08-21 13:55:32 +08:00
parent 529a09da3e
commit fca4a138d7

View File

@@ -27,7 +27,7 @@ async function onReceiveMessage(messages = []) {
if (msg.constructor === MESSAGETYPES.ShootSyncMeArrowID) { if (msg.constructor === MESSAGETYPES.ShootSyncMeArrowID) {
arrow.value = msg.target; arrow.value = msg.target;
power.value = msg.target.battery; power.value = msg.target.battery;
distance.value = msg.target.dst / 100; distance.value = Number((msg.target.dst / 100).toFixed(2));
debugInfo.value = msg.target; debugInfo.value = msg.target;
} }
}); });
@@ -122,7 +122,7 @@ onUnmounted(() => {
top: 34%; top: 34%;
} }
.warnning-text > text { .warnning-text > text {
width: 60vw; width: 70vw;
text-align: center; text-align: center;
} }
.container > view:last-child { .container > view:last-child {