Prechádzať zdrojové kódy

fix: linkRule cmdCode

lvkun996 1 rok pred
rodič
commit
6cd2ff6b9c

+ 1 - 1
src/pages/Iot/devOps/onlineTest.vue

@@ -24,7 +24,7 @@
                     </a-col>
                     <a-col :span="6" class="device-imitate" >真实设备</a-col>
                 </a-row>
-                <a-row style="height: 505px;width: 100%" justify="space-between"   >
+                <a-row style="height: 505px;width: 100%" justify="space-between" >
                     <a-col :span="11" style="height: 100%;background-color: #fff;position: relative;overflow: hidden;overflow-y: auto;" >
                         <a-empty v-if="state.eventList.length == 0" style="position: absolute;top: 50%;left:50%; transform: translate(-50%, -50%);" ></a-empty>
                         <span v-else >

+ 1 - 1
src/pages/Iot/rule/linkRules.vue

@@ -555,7 +555,7 @@
                   <a-select-option
                     v-for="cmdItem in state.cmdList"
                     :key="cmdItem.id"
-                    :value="cmdItem.id"
+                    :value="cmdItem.cmdCode"
                   >
                   {{cmdItem.cmdLabel}}
                   </a-select-option>