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/views/realtimemode/component/DeviceChange.vue | 24 ++++++++++++++----------
1 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/src/views/realtimemode/component/DeviceChange.vue b/src/views/realtimemode/component/DeviceChange.vue
index 3772b7d..4b78b7e 100644
--- a/src/views/realtimemode/component/DeviceChange.vue
+++ b/src/views/realtimemode/component/DeviceChange.vue
@@ -31,18 +31,22 @@
handleClick() {
this.$emit('change', this.formSearch);
}
+ },
+ watch: {
+ // formSearch(nV, oV) {
+ // if (nV != oV) {
+ // this.handleChange(nV[0].value);
+ // }
+ // }
+ },
+ mounted() {
+ this.$emit('change', this.formSearch);
}
};
</script>
-<style lang="scss">
-.map-date-selector {
- display: inline-block;
- position: relative;
- /* left: 0;
- right: 0;
- top: 0px; */
- /* padding: 0 4px; */
- /* color: ffffffbd; */
- /* background-color: antiquewhite; */
+<style scoped lang="scss">
+.el-form-item {
+ margin-bottom: 0px;
+ margin-right: 8px !important;
}
</style>
--
Gitblit v1.9.3