Commit 876c657a authored by 徐光星's avatar 徐光星

feat: 修改重复渠道号判断逻辑

parent b8dd80ec
...@@ -99,7 +99,7 @@ export default { ...@@ -99,7 +99,7 @@ export default {
if (channel2Id[normalKey]) { if (channel2Id[normalKey]) {
const arr = channel2Id[normalKey]; const arr = channel2Id[normalKey];
arr.push(item.id); arr.push(item.id);
channel2Id[normalKey] = channel2Id[normalKey].push(item.id); channel2Id[normalKey] = arr;
} else { } else {
channel2Id[normalKey] = [item.id] channel2Id[normalKey] = [item.id]
} }
......
...@@ -100,7 +100,7 @@ export default { ...@@ -100,7 +100,7 @@ export default {
if (channel2Id[normalKey]) { if (channel2Id[normalKey]) {
const arr = channel2Id[normalKey]; const arr = channel2Id[normalKey];
arr.push(item.id); arr.push(item.id);
channel2Id[normalKey] = channel2Id[normalKey].push(item.id); channel2Id[normalKey] = arr;
} else { } else {
channel2Id[normalKey] = [item.id] channel2Id[normalKey] = [item.id]
} }
......
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