【类 型】:test

【原  因】:
【过  程】:
【影  响】:

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
szdot 2024-07-20 18:40:12 +08:00
parent 24fac6cc27
commit 36a427f43d

View File

@ -27,14 +27,14 @@
<PublicTag icon="icon-gaodu" :val="plane.planeState.currentBattery" unit="安" state="danger" /> <PublicTag icon="icon-gaodu" :val="plane.planeState.currentBattery" unit="安" state="danger" />
</el-col> </el-col>
<el-col :span="2"> <el-col :span="2">
<PublicTag icon="icon-gaodu" :val="plane.planeState.batteryRemaining" unit="%" state="danger" /> <PublicTag icon="icon-gaodu" :val="plane.planeState.battCapacity" unit="%" state="danger" />
</el-col> </el-col>
</el-row> </el-row>
<div class="batteryBox"> <div class="batteryBox">
<el-progress :percentage="plane.planeState.batteryRemaining" :show-text="false" stroke-width="2"></el-progress> <!-- <el-progress :percentage="plane.planeState.batteryRemaining" :show-text="false" stroke-width="2"></el-progress>
<tooltip :horizontalPosition="'80%'" backgroundColor="#ff3333"> <tooltip :horizontalPosition="'80%'" backgroundColor="#ff3333">
H H
</tooltip> </tooltip> -->
</div> </div>
</div> </div>
@ -43,7 +43,7 @@
<script> <script>
import HeartTag from '@/components/Tag/HeartTag' import HeartTag from '@/components/Tag/HeartTag'
import PublicTag from '@/components/Tag/PublicTag' import PublicTag from '@/components/Tag/PublicTag'
import Tooltip from '@/components/Tag/Tooltip' // import Tooltip from '@/components/Tag/Tooltip'
import geodist from 'geodist' import geodist from 'geodist'
export default { export default {
@ -61,8 +61,8 @@ export default {
}, },
components: { components: {
HeartTag, HeartTag,
PublicTag, PublicTag
Tooltip // Tooltip
}, },
computed: { computed: {
}, },