优化位置信息展示

pull/524/head
648540858 2022-06-14 17:46:53 +08:00
parent 9ce6045f56
commit 31a8e6ea89
1 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,8 @@
</el-table-column>
<el-table-column label="位置信息" align="center">
<template slot-scope="scope">
<span>{{ scope.row.longitude }},{{ scope.row.latitude }}</span>
<span v-if="scope.row.longitude*scope.row.latitude > 0">{{ scope.row.longitude }},<br>{{ scope.row.latitude }}</span>
<span v-if="scope.row.longitude*scope.row.latitude === 0"></span>
</template>
</el-table-column>
<el-table-column prop="ptztypeText" label="云台类型"/>