From 16e4eb39307903ed396360818b6365953abdf5a7 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 16 Jan 2026 15:56:41 +0800
Subject: [PATCH] feat: 圆环
---
applications/drone-command/src/views/detectionCountermeasure/deviceAppConfig/index.vue | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/applications/drone-command/src/views/detectionCountermeasure/deviceAppConfig/index.vue b/applications/drone-command/src/views/detectionCountermeasure/deviceAppConfig/index.vue
index 9b6a956..ab870aa 100644
--- a/applications/drone-command/src/views/detectionCountermeasure/deviceAppConfig/index.vue
+++ b/applications/drone-command/src/views/detectionCountermeasure/deviceAppConfig/index.vue
@@ -83,7 +83,7 @@
<el-link @click="openForm('edit', row)" type="warning">配置接口</el-link>
</template>
</el-table-column>
-<!-- <el-table-column label="操作" class-name="operation-btns">
+ <!-- <el-table-column label="操作" class-name="operation-btns">
<template v-slot="{ row }">
<el-link @click="handleEdit(row)">编辑</el-link>
<el-link @click="handleDelete(row)" type="danger">删除</el-link>
@@ -210,11 +210,8 @@
}
function formatDeployLocation(row) {
- if (!row) return ''
- const longitude = row.deployLongitude ?? row.longitude
- const latitude = row.deployLatitude ?? row.latitude
- if (longitude == null || latitude == null) return ''
- return `${longitude}, ${latitude}`
+ if (!row.longitude || !row.latitude) return ''
+ return `${row.longitude}, ${row.latitude}`
}
onMounted(() => {
--
Gitblit v1.9.3