记得上下班打卡 | git大法好,push需谨慎

Commit b798a247 authored by sangchunxi's avatar sangchunxi

信息验证

parent 118b8c1d
...@@ -532,6 +532,9 @@ ...@@ -532,6 +532,9 @@
}) })
} }
let isUndefined = listData.filter(item => item.recommendBindId == undefined)
if (isUndefined[0].recommendBindId !== undefined) {
// 修改推荐活动 // 修改推荐活动
promiseMethods('/kylin-recommend-active/addOrUpdateListKylinRecommendActiveRelation','post', JSON.stringify(listData), 'application/json').then(res => { promiseMethods('/kylin-recommend-active/addOrUpdateListKylinRecommendActiveRelation','post', JSON.stringify(listData), 'application/json').then(res => {
...@@ -544,6 +547,9 @@ ...@@ -544,6 +547,9 @@
} }
}) })
} else {
layer.msg('需要填写完整推荐活动!')
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment