fix: douyu allow empty (#2427)

This commit is contained in:
Cloud 2019-06-18 16:11:33 +08:00 committed by DIYgod
parent 4b1a0bc5f6
commit a92f69cfac
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ module.exports = async (ctx) => {
link: `https://www.douyu.com/${id}`,
},
];
} else {
ctx.state.allowEmpty = true;
}
ctx.state.data = {