Commit a815b057 by chenjinjing

no message

parent 4528290b
......@@ -82,8 +82,8 @@ export async function homePage() {
let reDianShiPinData = await find(TABLEENUM.视频管理, { display:STATE. } );
reDianShiPinData.sort((a, b) => {return a.videoTime - b.videoTime});
for (let i= 0; i < reDianShiPinData.length; i++) {
let {title, desc, videoUrl} = reDianShiPinData[i];
result.reDianShiPin.push({title, desc, videoUrl:videoUrl});
let {title, desc, videoUrl, coverUrl} = reDianShiPinData[i];
result.reDianShiPin.push({title, desc, videoUrl:videoUrl, coverUrl});
if (i >= 4) break;
}
......
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