Просмотр исходного кода

fix(thirdDevice): upadte property

wang xiao 1 год назад
Родитель
Сommit
cf57699ea7
1 измененных файлов с 1 добавлено и 1 удалено
  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>