优化位置信息展示

This commit is contained in:
648540858 2022-06-14 17:46:53 +08:00
parent 3c75b19c14
commit ae68ef976e

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="云台类型"/>