From 023dd7fafa5d1a39d6f62ba88b6c4ec590aa20cd Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 14 七月 2023 16:01:36 +0800
Subject: [PATCH] Merge branch 'feature-001' of ssh://114.215.109.124:29418/grid-management-vue into feature-001

---
 src/views/overlay-clue/ClueLayout.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/views/overlay-clue/ClueLayout.vue b/src/views/overlay-clue/ClueLayout.vue
index eab7e20..774d7c1 100644
--- a/src/views/overlay-clue/ClueLayout.vue
+++ b/src/views/overlay-clue/ClueLayout.vue
@@ -40,9 +40,11 @@
  * 鏌ヨ宸蹭笅鍙戠殑绾跨储娓呭崟
  */
 const getClues = function () {
-  const time = moment(updateTime.value).format('YYYY-MM-DD HH:mm:ss');
+  const now = moment(updateTime.value);
+  const sTime = now.format('YYYY-MM-DD HH:mm:ss');
+  const eTime = now.add(1, 'month');
   onMapMounted(() => {
-    clueApi.getClues(time).then((res) => {
+    clueApi.getClue({ sTime, eTime }).then((res) => {
       clueList.value = res;
     });
   });
@@ -51,7 +53,9 @@
 /**
  * 閫夋嫨绾跨储浜嬩欢
  */
-const selectClue = function (clue) {};
+const selectClue = function (clue) {
+
+};
 </script>
 
 <style scoped>

--
Gitblit v1.9.3