mirror of
https://github.com/wu736139669/RN_AWord.git
synced 2026-08-05 06:24:39 +00:00
修改服务端bug
This commit is contained in:
@@ -40,8 +40,8 @@ export default class RandListView extends Component{
|
||||
首页
|
||||
</Text>
|
||||
),
|
||||
event: function() {
|
||||
}.bind(this)
|
||||
// event: function() {
|
||||
// }.bind(this)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -30,7 +30,10 @@ router.get('/list',function(req, res, next){
|
||||
console.log(req.query);
|
||||
// console.log(rest);
|
||||
var topicUrls = [];
|
||||
if(typeof rest.text == 'undefined')return;
|
||||
if(typeof(rest.text) == 'undefined'){
|
||||
res.json('');
|
||||
return;
|
||||
}
|
||||
var $ = cheerio.load(rest.text);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user