Browse Source

fix: 站点人员定位查询限制

zhangying 11 months ago
parent
commit
dd4a2483b5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      vue/src/views/baseSettings/positionMap/index.vue

+ 5 - 0
vue/src/views/baseSettings/positionMap/index.vue

@@ -139,6 +139,11 @@
 
       // 查询运动轨迹
       async function onSearch() {
+        if (!searchParams.value.startDate) {
+          message.error('请选择日期!');
+          return;
+        }
+
         // 删除已有标点
         if (markerList.length > 0) {
           for (let i = 0; i < markerList.length; i++) {