Parcourir la source

修复sop一键群发

yjwang il y a 16 heures
Parent
commit
26d3263bf6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/qw/sop/sop.vue

+ 1 - 1
src/views/qw/sop/sop.vue

@@ -691,7 +691,7 @@
             <el-option
               v-for="chatId in sendMsgOpen.row && sendMsgOpen.row.chatId ? sendMsgOpen.row.chatId.split(',') : []"
               :key="chatId"
-              :label="chatList.filter(e => e.chatId == chatId) ? chatList.filter(e => e.chatId == chatId)[0].name : ''"
+              :label="(chatList.find(e => String(e.chatId) === String(chatId)) || {}).name || chatId"
               :value="chatId"
             />
           </el-select>