Authored by yyq

list decode try catch

... ... @@ -99,7 +99,7 @@ exports.index = (req, res, next) => {
resData.list.phrase = decodeURIComponent(req.query.phrase);
} catch (e) {
resData.list.phrase = '';
};
}
}
res.render('list/index', resData);
... ...