From 5662a8178281c2c228a1d785d01534e24e68c64b Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Mon, 23 Mar 2026 13:02:18 +0000
Subject: [PATCH] 发布1.0.45版本 1、去除开启地形探测模式 2、修复拨盘问题 3、修复上一版本terrainUrlIsSct的初始化问题。 4、修复上一版本更新时的报错问题
---
src/example/ExampleBpPage.js | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/src/example/ExampleBpPage.js b/src/example/ExampleBpPage.js
index 2287c9a..0094486 100644
--- a/src/example/ExampleBpPage.js
+++ b/src/example/ExampleBpPage.js
@@ -49,7 +49,6 @@
.then(mdText => {
this.setState({htmlString: window.marked.parse(mdText)});
});
- this.showData();
//监听拨盘事件
this.mapFunction.addBpListener(function (id, dom) {
if (id && dom) {
@@ -64,7 +63,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: '关闭', img: './project3d/icon/bpImgs/icon-4.png'},
+ {name: '图标4', img: './project3d/icon/bpImgs/icon-4.png'},
]
};
this.setState({
@@ -75,9 +74,6 @@
this.setState({
clickBpIndex: index
});
- if (index === 3) {
- this.closeBp();
- }
});
}
}, this);
--
Gitblit v1.9.3