From 1800435a0e28ef585f5a9576779a1d492d274e6a Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 14 Nov 2017 10:27:12 +0800 Subject: [PATCH] Fix mock data --- .roadhogrc.mock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.roadhogrc.mock.js b/.roadhogrc.mock.js index 9cba6adc..3ca65934 100644 --- a/.roadhogrc.mock.js +++ b/.roadhogrc.mock.js @@ -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 }] -- GitLab