From 3282e95db0207ee133d1e98d9771dec9d83b0fc4 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 02 四月 2026 16:24:38 +0800
Subject: [PATCH] 2026.4.2 新增专题管理功能

---
 pages/selfpatrol/components/patrol-record/index.js |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/pages/selfpatrol/components/patrol-record/index.js b/pages/selfpatrol/components/patrol-record/index.js
index 6a3a8ed..1cb0a5f 100644
--- a/pages/selfpatrol/components/patrol-record/index.js
+++ b/pages/selfpatrol/components/patrol-record/index.js
@@ -13,6 +13,14 @@
     },
     item: {
       type: Object,
+      observer(value) {
+        if (value.path1 && value.path1.length > 0) {
+          this.setData({
+            picPath: value.path1[0],
+            leftPic: value.path1.length - 1,
+          });
+        }
+      },
     },
   },
 
@@ -20,7 +28,7 @@
    * 缁勪欢鐨勫垵濮嬫暟鎹�
    */
   data: {
-    indexText: '01.'
+    indexText: '01.',
   },
 
   /**

--
Gitblit v1.9.3