...
|
...
|
@@ -259,7 +259,7 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => { |
|
|
|
|
|
for (i = 0; i < getArticleContent.length; i++) {
|
|
|
if (getArticleContent[i].singleImage || getArticleContent[i].text || getArticleContent[i].smallPic) {
|
|
|
preCount++;
|
|
|
preCount = i + 1;
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -267,15 +267,6 @@ const packageData = (id, isApp, isWeixin, channel, isShare) => { |
|
|
shareCode: datas[5]
|
|
|
});
|
|
|
|
|
|
// if (isWeixin && datas[5]) {
|
|
|
// getArticleContent.splice(preCount, 0, {
|
|
|
// shareCode: datas[5]
|
|
|
// });
|
|
|
// } else if (!isWeixin && datas[4]) {
|
|
|
// getArticleContent.splice(preCount, 0, {
|
|
|
// shareCode: datas[4]
|
|
|
// });
|
|
|
// }
|
|
|
}
|
|
|
|
|
|
if (datas[0]) {
|
...
|
...
|
|