当后台人员没有写好api时,可以先使用mock.js来模拟数据。
1.please:https://github.com/nuysoft/Mock/wiki
已经有6900+ star
2.在vue中使用mock.js
reference: https://segmentfault.com/a/1190000010592626
当后台人员没有写好api时,可以先使用mock.js来模拟数据。
1.please:https://github.com/nuysoft/Mock/wiki
已经有6900+ star
2.在vue中使用mock.js
reference: https://segmentfault.com/a/1190000010592626