From ae03714bb9b7e509791451290e26eceabc5838e5 Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期四, 15 四月 2021 17:49:29 +0800
Subject: [PATCH] 解决table 横向不滚动!
---
src/components/LayerController/logic/SolidWaste.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/components/LayerController/logic/SolidWaste.js b/src/components/LayerController/logic/SolidWaste.js
index 29f074a..cd3d48a 100644
--- a/src/components/LayerController/logic/SolidWaste.js
+++ b/src/components/LayerController/logic/SolidWaste.js
@@ -75,6 +75,9 @@
const dataValue = {
StoragePlaceId: e.layer.options.totransferData.StoragePlaceId
}
+ // console.log(e.layer.options.totransferData.Name)
+ // 寮规鏍囬
+ const title = e.layer.options.totransferData.Name
// 鍩烘湰淇℃伅 tabs
const resultBasic = await mapApi.getSolidWasteBaseInfo(dataValue)
// 璇︾粏淇℃伅灞曠ず table
@@ -86,9 +89,9 @@
document.body.appendChild(instance.$el)
// document.body.removeChild(instance.$el)
// 閫氳繃鏂规硶 鍚戠粦瀹氬脊妗嗕紶閫掓暟鎹�
- instance.setData(resultBasic.Result.DataInfo, resultDetailed.Result.DataInfo, 'gufei')
+ instance.setData(title, resultBasic.Result.DataInfo, resultDetailed.Result.DataInfo, 'gufei')
/* flyTo()寮瑰嚭妗嗗钩绉讳簨浠� */
- this.setPanTo(e.latlng, 200)
+ this.setPanTo(e.latlng, 300)
}
// flayTo() 寮规鐨勫彲婊戝姩浜嬩欢
--
Gitblit v1.8.0