From 9289d08f248525e8e5b9ad94b86cd23e87d2dd0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E5=A4=A7=E8=83=86?= <1101282782@qq.com> Date: Tue, 26 Aug 2025 14:47:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=9C=AC=E6=A1=86?= =?UTF-8?q?=E4=BA=8C=E4=B8=89=E7=BB=B4=E4=B8=8D=E5=90=8C=E6=AD=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Obj/Base/TextBox/index.js | 2 +- src/YJEarth/index.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Obj/Base/TextBox/index.js b/src/Obj/Base/TextBox/index.js index e143806..a0b8e68 100644 --- a/src/Obj/Base/TextBox/index.js +++ b/src/Obj/Base/TextBox/index.js @@ -154,7 +154,7 @@ class TextBox extends Base { set show(v) { this.options.show = v this.textDom && (this.textDom.style.display = v ? 'block' : 'none'); - // syncData(this.sdk, this.options.id) + syncData(this.sdk, this.options.id) } get position() { return this.options.position diff --git a/src/YJEarth/index.js b/src/YJEarth/index.js index deaa768..f0e4003 100644 --- a/src/YJEarth/index.js +++ b/src/YJEarth/index.js @@ -419,7 +419,6 @@ class YJEarth { let ClickHandler = new Cesium.ScreenSpaceEventHandler(_this.viewer.canvas) ClickHandler.setInputAction((movement) => { - console.log(_this.viewer, 'hhhh') // let textList = document.getElementsByClassName('popup-textarea') let textList = _this.viewer._element.getElementsByClassName('popup-textarea') _this.isLeftClick = false @@ -430,7 +429,6 @@ class YJEarth { let height = textList[i].clientHeight * 1 let x = movement.position.x let y = movement.position.y - console.log(i, left, top, width, height, x, y, 'yyyyy') if (x > left && x < left + width && y > top && y < top + height) { if (_this.clickTextDom) { _this.clickTextDom.style['pointer-events'] = 'none'