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/ExampleDrawPage.js | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/src/example/ExampleDrawPage.js b/src/example/ExampleDrawPage.js
index b38f919..84064b1 100644
--- a/src/example/ExampleDrawPage.js
+++ b/src/example/ExampleDrawPage.js
@@ -10,6 +10,7 @@
optionObjs = {
"目标简标": {
+ code: '123123',
bz: true,
bzlx: 'simple',
jbwb: 'R:00017',
@@ -239,6 +240,7 @@
.then(mdText => {
this.setState({htmlString: window.marked.parse(mdText)});
});
+ this.showOptions();
}
showOptions = () => {
@@ -252,16 +254,7 @@
};
showOptions2 = () => {
-
- this.mapFunction.mapApiService.showDrawDatas([{
- type: 'lddkgrps',
- bj: 1,
- qsjd: 30,
- zzjd: 75,
- lon: 102.72004539488224, lat: 30.991068100060593, height: 0,
- useModify: false
- }]);
-
+ this.mapFunction.mapApiService.showDrawDatas([this.optionObjs['目标简标']]);
}
--
Gitblit v1.9.3