From e955287ac83d12c1545db512d9af7ed5a15db21c Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期一, 10 五月 2021 15:05:47 +0800 Subject: [PATCH] 管线搜索弹框整体调整 --- src/components/LayerController/service/BusiLayerService.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/LayerController/service/BusiLayerService.js b/src/components/LayerController/service/BusiLayerService.js index e8f8d03..65166db 100644 --- a/src/components/LayerController/service/BusiLayerService.js +++ b/src/components/LayerController/service/BusiLayerService.js @@ -13,15 +13,17 @@ init (layer) { // 寮曞叆 鍏宠仈鐨刯s锛屽湪constant.js涓牴鎹甤onfig閰嶇疆鐨刬d寰楀埌澶勭悊js const id = this.config.code + console.log(id) const file = logicMapper[id] if (!file) { - console.log('鎵句笉鍒伴�昏緫澶勭悊js!!!') + console.log('鎵句笉鍒伴�昏緫澶勭悊js!!!' + id) } else { var BusiLayer = require('../logic/' + file) var busiLayer = new BusiLayer() busiLayer.init(layer, this.L) if (busiLayer.bindTooltip) { - layer.bindTooltip(busiLayer.bindTooltip) + // 鍏ㄥ眬tips浣嶇疆 + layer.bindTooltip(busiLayer.bindTooltip, { direction: 'top', offset: [0, -15], sticky: false }) } // 璋冪敤click浜嬩欢 if (busiLayer.clickListener) { -- Gitblit v1.8.0