소스 검색

修复item报错

lmx 4 일 전
부모
커밋
9b0fc4eb28
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/qw/sopUserLogsInfo/sendMsgOpenTool.vue

+ 1 - 1
src/views/qw/sopUserLogsInfo/sendMsgOpenTool.vue

@@ -963,7 +963,7 @@ export default {
                 return this.$message.error("语音不能为空")
               }
               // 添加对福袋的验证
-              if (item.contentType == 14 && (item.luckyBagId == null || item.luckyBagId === "")) {
+              if (this.setting[i].contentType == 14 && (this.setting[i].luckyBagId == null || this.setting[i].luckyBagId === "")) {
                 return this.$message.error("福袋不能为空")
               }
             }