Commit 2f6abdf8 by Sxy

fix: 界面乱码

parent 8ca4629c
...@@ -90,7 +90,8 @@ module.exports = function (app) { ...@@ -90,7 +90,8 @@ module.exports = function (app) {
p = invokeObj["doexec"].apply(invokeObj, params); p = invokeObj["doexec"].apply(invokeObj, params);
} }
p.then(r => { p.then(r => {
res.end(JSON.stringify(r)); // res.end(JSON.stringify(r));
res.json(r);
}); });
}); });
}; };
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