Commit 10ee6c14 authored by 徐光星's avatar 徐光星

feat: 增加逻辑注释

parent ce9d8020
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
this.cacheId = ''; this.cacheId = '';
}, },
async queryTerminalChannelNoForPrevire(activityInfoIds) { async queryTerminalChannelNoForPrevire(activityInfoIds) {
// 预览阶段对填入的活动ID进行过滤、校验、排重等操作
try { try {
if (!activityInfoIds) return; if (!activityInfoIds) return;
let params = activityInfoIds.split(',') let params = activityInfoIds.split(',')
...@@ -106,6 +106,7 @@ export default { ...@@ -106,6 +106,7 @@ export default {
} }
return item; return item;
}) })
// 变更为以kaChannel(通用渠道键为common)为键,活动ID集合为值的对象
console.log(channel2Id, 'channel2Id') console.log(channel2Id, 'channel2Id')
for (let i in channel2Id) { for (let i in channel2Id) {
if (channel2Id[i].length > 1) { if (channel2Id[i].length > 1) {
......
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
this.cacheId = ''; this.cacheId = '';
}, },
async queryTerminalChannelNoForPrevire(activityInfoIds) { async queryTerminalChannelNoForPrevire(activityInfoIds) {
// 预览阶段对填入的活动ID进行过滤、校验、排重等操作
try { try {
if (!activityInfoIds) return; if (!activityInfoIds) return;
let params = activityInfoIds.split(',') let params = activityInfoIds.split(',')
...@@ -107,6 +107,7 @@ export default { ...@@ -107,6 +107,7 @@ export default {
} }
return item; return item;
}) })
// 变更为以kaChannel(通用渠道键为common)为键,活动ID集合为值的对象
console.log(channel2Id, 'channel2Id') console.log(channel2Id, 'channel2Id')
for (let i in channel2Id) { for (let i in channel2Id) {
if (channel2Id[i].length > 1) { if (channel2Id[i].length > 1) {
......
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