DESKTOP-SVI9JE1\muzen %!s(int64=2) %!d(string=hai) anos
pai
achega
b7f7eb0c08
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/operation/activity/detail.vue

+ 1 - 1
src/views/operation/activity/detail.vue

@@ -19,7 +19,7 @@
               <el-form-item :prop="`deviceRespList.${scope.$index}.deviceId`"
                 :rules="{ required: true, trigger: 'change' }">
                 <el-select v-model="scope.row.deviceId" filterable placeholder="请选择关联设备" :disabled="disabledActivity"
-                  :title="devOptions.find(i => i.value == scope.row.deviceId).label">
+                  :title="scope.row.deviceId !== undefined ? devOptions.find(i => i.value == scope.row.deviceId).label : ''">
                   <el-option v-for="item in devOptions" :key="item.value" :value="item.value" :label="item.label"
                     :disabled="item.disabled" />
                 </el-select>