Parcourir la source

修复item报错

lmx il y a 4 jours
Parent
commit
9b0fc4eb28
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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("福袋不能为空")
               }
             }