Commit 39b540fa authored by wty's avatar wty

修复问题

parent ad371491
...@@ -46,7 +46,7 @@ getMysql.then(Mysql => { ...@@ -46,7 +46,7 @@ getMysql.then(Mysql => {
} }
if (isFollow) { if (isFollow) {
type_id = JSON.parse(type_id) type_id = JSON.parse(type_id)
if (!type_id?.length){ if (Array.isArray(type_id) && !type_id.length){
res.send({ res.send({
success: true, success: true,
data: [] data: []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment