From 4b1a0bc5f68931613f0168349908f4aede2de930 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 18 Jun 2019 16:09:32 +0800 Subject: [PATCH] refactor: format --- lib/routes/aiyanxishe/home.js | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/lib/routes/aiyanxishe/home.js b/lib/routes/aiyanxishe/home.js index ed1de8a385..114021525c 100644 --- a/lib/routes/aiyanxishe/home.js +++ b/lib/routes/aiyanxishe/home.js @@ -44,19 +44,18 @@ module.exports = async (ctx) => { data.paragraphs.forEach((element) => { description += ` ${element.content} ${element.zh_content.content} `; }); - description += - '\ - '; + description += ` + `; author = data.user.nickname; break; case 'paper': // 论文