From 7d02699a0b2d425f3f9f3dd6af872bbc1d352710 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期二, 20 四月 2021 11:46:36 +0800 Subject: [PATCH] 图层控制BUG修改 --- src/components/LayerController/service/BusiLayerService.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/LayerController/service/BusiLayerService.js b/src/components/LayerController/service/BusiLayerService.js index d63962e..0a8f958 100644 --- a/src/components/LayerController/service/BusiLayerService.js +++ b/src/components/LayerController/service/BusiLayerService.js @@ -13,15 +13,16 @@ 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(layer)) + layer.bindTooltip(busiLayer.bindTooltip) } // 璋冪敤click浜嬩欢 if (busiLayer.clickListener) { -- Gitblit v1.8.0