Coder Social home page Coder Social logo

mock-server's Introduction

Hi, I'm Shymean

I'm on my way to becoming a real developer...

Contact me

Github Stats

Weekly code statistics

JavaScript       14 hrs 28 mins  ████████▒░░░░░░░░░░░░░░░░   33.13 %
Vue.js           10 hrs 33 mins  ██████░░░░░░░░░░░░░░░░░░░   24.16 %
Markdown         9 hrs 44 mins   █████▓░░░░░░░░░░░░░░░░░░░   22.30 %
TypeScript       7 hrs 19 mins   ████▒░░░░░░░░░░░░░░░░░░░░   16.77 %
JSON             1 hr 1 min      ▓░░░░░░░░░░░░░░░░░░░░░░░░   02.34 %

mock-server's People

Contributors

tangxiangmin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mock-server's Issues

使用过程的一些问题

你好,大佬。下了你的工具,挺好用,但是有个问题。我引官方的mock.js文件时,使用他的Mock.mock(url,method,function(options){})方法的时候,发ajax请求的时候,options的body属性是能接收到我传的请求体的数据。开启了你的服务器后,在_mock.js文件里使用Mock.mock(url,method,function(options){})方法的时候,options为什么是这个
{ type: 'function', template: [Function], name: '', parsedName: '', rule: {}, context: { path: [ 2 ], templatePath: [ 2 ], currentContext: undefined, templateCurrentContext: [Function], root: undefined, templateRoot: [Function] } }这个没用啊,拿不到参数啊
Snipaste_2019-07-20_21-56-08

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.