添加设备在线离线处理
This commit is contained in:
@@ -20,9 +20,9 @@ onBeforeUnmount(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<view class="container" :style="{ opacity: power > 0 ? 1 : 0 }">
|
||||
<view class="container">
|
||||
<image src="../static/b-power.png" mode="widthFix" />
|
||||
<view>电量{{ power }}%</view>
|
||||
<view>电量{{ power || 1 }}%</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user