From c40500d288339cd9b2200f8f909e3cd5471c0c22 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 30 八月 2024 17:38:29 +0800 Subject: [PATCH] 1. 优化3D动画中风向的变化逻辑; 2. 修复折线图切换因子时,数据直接跳转至起始处的问题; 3. 折线图和表格加回风向因子; 4. 优化风向的均值计算为矢量计算,同时最大最小值不显示; 5. 新增表格数据导出功能; --- src/components/map/MapToolbox.vue | 44 +++++++++++++++++++------------------------- 1 files changed, 19 insertions(+), 25 deletions(-) diff --git a/src/components/map/MapToolbox.vue b/src/components/map/MapToolbox.vue index 270e612..39f98c7 100644 --- a/src/components/map/MapToolbox.vue +++ b/src/components/map/MapToolbox.vue @@ -1,6 +1,6 @@ <template> <el-dropdown - class="p-events-auto dropdown-wrap" + class="p-events-auto" trigger="click" size="small" @command="handleCommand" @@ -72,25 +72,25 @@ this.value = !this.value; toolbox.toggleCoorPicking(this.value); } - }, - { - icon: 'fa fa-compass', - label: '鏁版嵁鏍囪', - value: true, - click: function () { - this.value = !this.value; - // todo 鏁版嵁鏍囪 - } - }, - { - icon: 'fa fa-compass', - label: '鏁版嵁寮规', - value: true, - click: function () { - this.value = !this.value; - // todo 鏁版嵁寮规 - } } + // { + // icon: 'fa fa-compass', + // label: '鏁版嵁鏍囪', + // value: true, + // click: function () { + // this.value = !this.value; + // // todo 鏁版嵁鏍囪 + // } + // }, + // { + // icon: 'fa fa-compass', + // label: '鏁版嵁寮规', + // value: true, + // click: function () { + // this.value = !this.value; + // // todo 鏁版嵁寮规 + // } + // } ] }; }, @@ -103,12 +103,6 @@ </script> <style scoped> -.dropdown-wrap { - position: absolute; - top: 10px; - left: 2px; -} - .el-button { margin: initial !important; } -- Gitblit v1.9.3