电量显示走接口请求
This commit is contained in:
@@ -21,7 +21,6 @@ const start = ref(false);
|
||||
const scores = ref([]);
|
||||
const total = 36;
|
||||
const practiseResult = ref({});
|
||||
const power = ref(0);
|
||||
const practiseId = ref("");
|
||||
const showGuide = ref(false);
|
||||
|
||||
@@ -47,7 +46,6 @@ async function onReceiveMessage(messages = []) {
|
||||
}, 3000);
|
||||
}
|
||||
}
|
||||
power.value = msg.target.battery;
|
||||
}
|
||||
if (msg.constructor === MESSAGETYPES.ShootSyncMePracticeID) {
|
||||
if (practiseId.value && practiseId.value === msg.practice.id) {
|
||||
@@ -115,7 +113,7 @@ onBeforeUnmount(() => {
|
||||
<text>完成过半,胜利</text>
|
||||
<text>在望!💪</text>
|
||||
</BubbleTip>
|
||||
<BowPower :power="power" />
|
||||
<BowPower />
|
||||
</view>
|
||||
<BowTarget
|
||||
:currentRound="scores.length"
|
||||
|
||||
Reference in New Issue
Block a user