From eae19e6a9286748340778d9a154704ec5f26eea8 Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Thu, 05 Feb 2026 06:26:35 +0000
Subject: [PATCH] 1.0.39 修复辅助点无法捕捉的异常

---
 src/example/ExampleBpPage.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/example/ExampleBpPage.js b/src/example/ExampleBpPage.js
index 0094486..2287c9a 100644
--- a/src/example/ExampleBpPage.js
+++ b/src/example/ExampleBpPage.js
@@ -49,6 +49,7 @@
             .then(mdText => {
                 this.setState({htmlString: window.marked.parse(mdText)});
             });
+        this.showData();
         //监听拨盘事件
         this.mapFunction.addBpListener(function (id, dom) {
             if (id && dom) {
@@ -63,7 +64,7 @@
                         {name: '图标1', img: './project3d/icon/bpImgs/icon-1.png'},
                         {name: '图标2', img: './project3d/icon/bpImgs/icon-2.png'},
                         {name: '图标3', img: './project3d/icon/bpImgs/icon-3.png'},
-                        {name: '图标4', img: './project3d/icon/bpImgs/icon-4.png'},
+                        {name: '关闭', img: './project3d/icon/bpImgs/icon-4.png'},
                     ]
                 };
                 this.setState({
@@ -74,6 +75,9 @@
                     this.setState({
                         clickBpIndex: index
                     });
+                    if (index === 3) {
+                        this.closeBp();
+                    }
                 });
             }
         }, this);

--
Gitblit v1.9.3