From e74fe336f8c6c434b1cf6c0e3378c4e14f9d58d5 Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Wed, 27 Aug 2025 02:55:57 +0000
Subject: [PATCH] 更新md文件
---
public/example/ExampleHideToolBarPage.md | 2 +-
public/example/ExampleI18nPage.md | 2 +-
public/example/ExampleBpPage.md | 2 +-
public/example/ExampleCustomToolbarPage.md | 2 +-
public/example/ExampleDefaultSelectPage.md | 4 ++--
src/example/ExampleDefaultSelectPage.js | 2 +-
public/example/ExampleBlcPage.md | 2 +-
public/example/ExampleFlyPage.md | 6 +++---
public/example/ExampleFwyPage.md | 2 +-
src/example/ExampleFlyPage.js | 2 +-
public/example/ExampleBhPage.md | 2 +-
public/example/ExampleToolsPage.md | 2 +-
package.json | 3 ++-
public/example/ExampleLayerPage.md | 2 +-
src/example/ExampleDynamicBlcPage.js | 2 +-
public/example/ExampleDynamicBlcPage.md | 4 ++--
public/example/ExampleDrawPage.md | 2 +-
17 files changed, 22 insertions(+), 21 deletions(-)
diff --git a/package.json b/package.json
index c79aba2..349e233 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,8 @@
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
- "update2": "pnpm update iclient3d-plot-diy --no-save --registry https://registry.npmjs.org"
+ "update2": "pnpm update iclient3d-plot-diy --no-save --registry https://registry.npmjs.org",
+ "code-to-md": "node extract-code-to-md.js"
},
"keywords": [],
"author": "sbjw1234",
diff --git a/public/example/ExampleBhPage.md b/public/example/ExampleBhPage.md
index bfe6472..ad587ea 100644
--- a/public/example/ExampleBhPage.md
+++ b/public/example/ExampleBhPage.md
@@ -5,7 +5,7 @@
import React, {Component} from 'react'
import './ExamplePage.css'
import "./ExampleBhPage.css";
-import {GIS} from "../iclient3d-plot-diy";
+import {GIS} from "iclient3d-plot-diy";
import {Button} from "antd";
diff --git a/public/example/ExampleBlcPage.md b/public/example/ExampleBlcPage.md
index 3671ea5..0f59875 100644
--- a/public/example/ExampleBlcPage.md
+++ b/public/example/ExampleBlcPage.md
@@ -4,7 +4,7 @@
```jsx
import React, {Component} from 'react'
import './ExampleDrawPage.css'
-import {GIS} from "../iclient3d-plot-diy";
+import {GIS} from "iclient3d-plot-diy";
;
import {Button} from "antd";
diff --git a/public/example/ExampleBpPage.md b/public/example/ExampleBpPage.md
index c4cba7a..b5a84b3 100644
--- a/public/example/ExampleBpPage.md
+++ b/public/example/ExampleBpPage.md
@@ -4,7 +4,7 @@
```jsx
import React, {Component} from 'react'
import './ExampleDrawPage.css'
-import {Bp, GIS} from "../iclient3d-plot-diy";
+import {Bp, GIS} from "iclient3d-plot-diy";
;
import {Button} from "antd";
diff --git a/public/example/ExampleCustomToolbarPage.md b/public/example/ExampleCustomToolbarPage.md
index 0f5c50d..22212c6 100644
--- a/public/example/ExampleCustomToolbarPage.md
+++ b/public/example/ExampleCustomToolbarPage.md
@@ -5,7 +5,7 @@
import React, {Component} from 'react'
import './ExamplePage.css'
import "./CommonExample.css";
-import {GIS} from "../iclient3d-plot-diy";
+import {GIS} from "iclient3d-plot-diy";
;
import ProfileTool from "./profile/ProfileTool";
diff --git a/public/example/ExampleDefaultSelectPage.md b/public/example/ExampleDefaultSelectPage.md
index 4349a07..50acd66 100644
--- a/public/example/ExampleDefaultSelectPage.md
+++ b/public/example/ExampleDefaultSelectPage.md
@@ -4,7 +4,7 @@
```jsx
import React, {Component} from 'react'
import './ExampleFwyPage.css'
-import {Bp, GIS} from "../iclient3d-plot-diy";
+import {Bp, GIS} from "iclient3d-plot-diy";
import {Button} from "antd";
export default class ExampleDefaultSelectPage extends Component {
@@ -55,7 +55,7 @@
componentDidMount() {
this.showData();
- fetch('./example/ExampleFwyPage.md')
+ fetch('./example/ExampleDefaultSelectPage.md')
.then(response => response.text())
.then(mdText => {
this.setState({htmlString: window.marked.parse(mdText)});
diff --git a/public/example/ExampleDrawPage.md b/public/example/ExampleDrawPage.md
index 768af17..6b561db 100644
--- a/public/example/ExampleDrawPage.md
+++ b/public/example/ExampleDrawPage.md
@@ -4,7 +4,7 @@
```jsx
import React, {Component} from 'react'
import './ExampleDrawPage.css'
-import {GIS} from "../iclient3d-plot-diy";
+import {GIS} from "iclient3d-plot-diy";
;
import {Button} from "antd";
diff --git a/public/example/ExampleDynamicBlcPage.md b/public/example/ExampleDynamicBlcPage.md
index 632a1b8..d9d228c 100644
--- a/public/example/ExampleDynamicBlcPage.md
+++ b/public/example/ExampleDynamicBlcPage.md
@@ -4,7 +4,7 @@
```jsx
import React, {Component} from 'react'
import './ExampleDrawPage.css'
-import {GIS} from "../iclient3d-plot-diy";
+import {GIS} from "iclient3d-plot-diy";
export default class ExampleDynamicDlcPage extends Component {
@@ -31,7 +31,7 @@
componentDidMount() {
- fetch('./example/ExampleBlcPage.md')
+ fetch('./example/ExampleDynamicDlcPage.md')
.then(response => response.text())
.then(mdText => {
this.setState({htmlString: window.marked.parse(mdText)});
diff --git a/public/example/ExampleFlyPage.md b/public/example/ExampleFlyPage.md
index bab8b5e..ba62d60 100644
--- a/public/example/ExampleFlyPage.md
+++ b/public/example/ExampleFlyPage.md
@@ -4,9 +4,9 @@
```jsx
import React, {Component} from 'react'
import './ExampleDrawPage.css'
-import {GIS} from "../iclient3d-plot-diy";
+import {GIS} from "iclient3d-plot-diy";
import {interval, take} from "rxjs";
-import Bp from "../utils/Bp";
+import {Bp} from "iclient3d-plot-diy";
const {Cesium} = window;
@@ -21,7 +21,7 @@
componentDidMount() {
- fetch('./example/ExampleBpPage.md')
+ fetch('./example/ExampleFlyPage.md')
.then(response => response.text())
.then(mdText => {
this.setState({htmlString: window.marked.parse(mdText)});
diff --git a/public/example/ExampleFwyPage.md b/public/example/ExampleFwyPage.md
index 8d0b4f1..9ea75ea 100644
--- a/public/example/ExampleFwyPage.md
+++ b/public/example/ExampleFwyPage.md
@@ -4,7 +4,7 @@
```jsx
import React, {Component} from 'react'
import './ExampleFwyPage.css'
-import {GIS} from "../iclient3d-plot-diy";
+import {GIS} from "iclient3d-plot-diy";
import {Button} from "antd";
;
diff --git a/public/example/ExampleHideToolBarPage.md b/public/example/ExampleHideToolBarPage.md
index c5c28d6..0b10a31 100644
--- a/public/example/ExampleHideToolBarPage.md
+++ b/public/example/ExampleHideToolBarPage.md
@@ -4,7 +4,7 @@
```jsx
import React, {Component, PureComponent} from 'react'
import './CommonExample.css'
-import {GIS} from "../iclient3d-plot-diy";
+import {GIS} from "iclient3d-plot-diy";
;
import {Button} from "antd";
diff --git a/public/example/ExampleI18nPage.md b/public/example/ExampleI18nPage.md
index 0944829..cf5c8c2 100644
--- a/public/example/ExampleI18nPage.md
+++ b/public/example/ExampleI18nPage.md
@@ -5,7 +5,7 @@
import React, {Component} from 'react'
import './ExamplePage.css'
import "./CommonExample.css";
-import {GIS} from "../iclient3d-plot-diy";
+import {GIS} from "iclient3d-plot-diy";
;
import {Button} from "antd";
diff --git a/public/example/ExampleLayerPage.md b/public/example/ExampleLayerPage.md
index b792cfc..987b359 100644
--- a/public/example/ExampleLayerPage.md
+++ b/public/example/ExampleLayerPage.md
@@ -5,7 +5,7 @@
import React, {Component} from 'react'
import './CommonExample.css'
import './ExampleLayerPage.css'
-import {GIS} from "../iclient3d-plot-diy";
+import {GIS} from "iclient3d-plot-diy";
;
import {Button} from "antd";
diff --git a/public/example/ExampleToolsPage.md b/public/example/ExampleToolsPage.md
index a8b4d55..d7a58e0 100644
--- a/public/example/ExampleToolsPage.md
+++ b/public/example/ExampleToolsPage.md
@@ -4,7 +4,7 @@
```jsx
import React, {Component, PureComponent} from 'react'
import './CommonExample.css'
-import {GIS} from "../iclient3d-plot-diy";
+import {GIS} from "iclient3d-plot-diy";
;
import './ExampleLayerPage.css'
diff --git a/src/example/ExampleDefaultSelectPage.js b/src/example/ExampleDefaultSelectPage.js
index 11c8f0d..5e776b0 100644
--- a/src/example/ExampleDefaultSelectPage.js
+++ b/src/example/ExampleDefaultSelectPage.js
@@ -51,7 +51,7 @@
componentDidMount() {
this.showData();
- fetch('./example/ExampleFwyPage.md')
+ fetch('./example/ExampleDefaultSelectPage.md')
.then(response => response.text())
.then(mdText => {
this.setState({htmlString: window.marked.parse(mdText)});
diff --git a/src/example/ExampleDynamicBlcPage.js b/src/example/ExampleDynamicBlcPage.js
index 9bc71d9..6d6b495 100644
--- a/src/example/ExampleDynamicBlcPage.js
+++ b/src/example/ExampleDynamicBlcPage.js
@@ -27,7 +27,7 @@
componentDidMount() {
- fetch('./example/ExampleBlcPage.md')
+ fetch('./example/ExampleDynamicDlcPage.md')
.then(response => response.text())
.then(mdText => {
this.setState({htmlString: window.marked.parse(mdText)});
diff --git a/src/example/ExampleFlyPage.js b/src/example/ExampleFlyPage.js
index 4d3e2b7..c9d728f 100644
--- a/src/example/ExampleFlyPage.js
+++ b/src/example/ExampleFlyPage.js
@@ -17,7 +17,7 @@
componentDidMount() {
- fetch('./example/ExampleBpPage.md')
+ fetch('./example/ExampleFlyPage.md')
.then(response => response.text())
.then(mdText => {
this.setState({htmlString: window.marked.parse(mdText)});
--
Gitblit v1.9.3