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