Commit 1800435a authored by afc163's avatar afc163

Fix mock data

parent 6e2d122a
......@@ -59,7 +59,7 @@ const proxy = {
$body: postRule,
},
'POST /api/forms': (req, res) => {
res.send('Ok');
res.send({ message: 'Ok' });
},
'GET /api/tags': mockjs.mock({
'list|100': [{ name: '@city', 'value|1-100': 150, 'type|0-2': 1 }]
......
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