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>
|
</Text>
|
||||||
),
|
),
|
||||||
event: function() {
|
// event: function() {
|
||||||
}.bind(this)
|
// }.bind(this)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,7 +30,10 @@ router.get('/list',function(req, res, next){
|
|||||||
console.log(req.query);
|
console.log(req.query);
|
||||||
// console.log(rest);
|
// console.log(rest);
|
||||||
var topicUrls = [];
|
var topicUrls = [];
|
||||||
if(typeof rest.text == 'undefined')return;
|
if(typeof(rest.text) == 'undefined'){
|
||||||
|
res.json('');
|
||||||
|
return;
|
||||||
|
}
|
||||||
var $ = cheerio.load(rest.text);
|
var $ = cheerio.load(rest.text);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user