From 1788c96aea9247cc36ef8b82734997f1a6a92fb4 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 23 八月 2024 11:07:42 +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