From 5159b1f9f30ea4135afb1542ad5b454907a68698 Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Mon, 19 Jan 2026 01:52:29 +0000
Subject: [PATCH] 默认显示

---
 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