Pārlūkot izejas kodu

fix(thirdDevice): upadte property

wang xiao 1 gadu atpakaļ
vecāks
revīzija
cf57699ea7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/pages/Iot/thirdDevice/index.vue

+ 1 - 1
src/pages/Iot/thirdDevice/index.vue

@@ -104,7 +104,7 @@
           <div v-if="!record.ed" ><a>{{record.devicePropVal}}</a></div>
           <a-space  v-else>
             <a-input v-model:value='record.devicePropVal' ></a-input>
-            <a-button type="primary" size="samll" @click="changeDevicePropVal" >
+            <a-button type="primary" size="samll" @click="changeDevicePropVal(record)" >
               <template #icon>
                 <CheckOutlined />
               </template>