Ver Fonte

websocket预警

hfxc226 há 2 anos atrás
pai
commit
76cfdb47bd
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      src/views/remote/opc-log/modules/Detail.vue

+ 3 - 2
src/views/remote/opc-log/modules/Detail.vue

@@ -114,7 +114,7 @@ export default {
       confirmLoading: false,
       mdl: {},
       modalTitle: null,
-      searchDay: null,
+      searchDay: 1,
       map: {},
       visible: false,
       // 下拉框map
@@ -209,6 +209,7 @@ export default {
     },
     onChange (value) {
       this.confirmLoading = true
+      this.searchDay = value
       const parameter = {}
       parameter.id = this.model.id
       parameter.type = value
@@ -234,7 +235,7 @@ export default {
     handleCancel () {
       this.visible = false
       this.confirmLoading = false
-      this.searchDay = null
+      this.searchDay = 1
       this.chart = null
       this.chartsData = []
       this.$emit('ok')