From 6b6eff08baa3d052b66fd2e68f1ac0d8495f6f8a Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 29 八月 2024 17:35:33 +0800 Subject: [PATCH] 修改历史数据获取逻辑 --- 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