Selaa lähdekoodia

websocket预警

hfxc226 2 vuotta sitten
vanhempi
commit
c39c019d03
2 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 1 1
      src/views/opc/OpcInfo.vue
  2. 4 4
      src/views/remote/opc-log/modules/Detail.vue

+ 1 - 1
src/views/opc/OpcInfo.vue

@@ -96,7 +96,7 @@
     </div>
     <detail ref="detailModal" @ok="handleOk" />
     <detail-log ref="detailLogModal" @ok="handleOk" />
-    <remote-opc-warn></remote-opc-warn>
+<!--    <remote-opc-warn></remote-opc-warn>-->
   </div>
 </template>
 

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

@@ -15,14 +15,14 @@
             :format="BaseTool.Date.PICKER_NORM_DATE_PATTERN"
             @change="onChange"
             v-model="searchDay"/>-->
-          <a-select default-value="1" v-model="searchDay" style="width: 120px" @change="onChange">
-            <a-select-option value="1">
+          <a-select v-model="searchDay" style="width: 120px" @change="onChange">
+            <a-select-option :value="parseInt('1')">
               5分钟
             </a-select-option>
-            <a-select-option value="2">
+            <a-select-option :value="parseInt('2')">
               15分钟
             </a-select-option>
-            <a-select-option value="3">
+            <a-select-option :value="parseInt('3')">
               1小时
             </a-select-option>
             <!--            <a-select-option value="4">