mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
提交
This commit is contained in:
@@ -322,6 +322,7 @@
|
|||||||
res.result.some(con => {
|
res.result.some(con => {
|
||||||
if (con.id == item.contentId) {
|
if (con.id == item.contentId) {
|
||||||
item.info = con;
|
item.info = con;
|
||||||
|
item.info.comments = con.replays;
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -311,6 +311,7 @@
|
|||||||
res.result.some(con => {
|
res.result.some(con => {
|
||||||
if (con.id == item.contentId) {
|
if (con.id == item.contentId) {
|
||||||
item.info = con;
|
item.info = con;
|
||||||
|
item.info.comments = con.replays;
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user