04 2022 档案

摘要:const bounds = window.map.getBounds() var w = bounds._ne.lng- bounds._sw.lng; var h = bounds._ne.lat- bounds._sw.lat; const params = { x1: bounds._sw. 阅读全文
posted @ 2022-04-27 15:15 泽泽生龙 阅读(55) 评论(0) 推荐(0) 编辑
摘要:在ant design vue 的数据会先中, 一般会用 parameter.xx来接受 回显数据 如果 回显数据时input ,时,可能会没问题(这个不记得了); 但是在回显其他的 如 select 二级联动等需要点击操作的组件时, 会发现点击没有反应, 具体原因不清楚, 但是解决办法如下: 不能 阅读全文
posted @ 2022-04-26 16:09 泽泽生龙 阅读(1491) 评论(0) 推荐(1) 编辑
摘要:在 使用echarts 做饼状图,因为label 字段太长,超出部分不显示, 要求超出部分用省略号代替, 在查找文档时,未找到对应的解决方案, 在综合多个解决方案后,得到以下的解决方案 原代码: label: { formatter: '{name|{b}}\n{value|{d}%( {c})}' 阅读全文
posted @ 2022-04-24 11:08 泽泽生龙 阅读(10745) 评论(0) 推荐(0) 编辑
摘要:1: initLayer(options, beforeId) { this.map.addLayer( { id: options.id, type: options.type, source: options.source, layout: options.layout, paint: opti 阅读全文
posted @ 2022-04-19 10:55 泽泽生龙 阅读(2101) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示