添加校准声音

This commit is contained in:
kron
2025-10-29 18:07:42 +08:00
parent f5d5475ee4
commit 84cdbb94db
5 changed files with 54 additions and 18 deletions

View File

@@ -6,6 +6,8 @@ const power = ref(0);
const timer = ref(null);
onMounted(async () => {
const data = await getDeviceBatteryAPI();
power.value = data.battery;
timer.value = setInterval(async () => {
const data = await getDeviceBatteryAPI();
power.value = data.battery;