Selaa lähdekoodia

修复item报错

lmx 4 päivää sitten
vanhempi
commit
9b0fc4eb28
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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("福袋不能为空")
               }
             }