Giter Club home page Giter Club logo

Comments (4)

loveky avatar loveky commented on May 20, 2024

保存时过滤掉 enabled 属性,保证用户每次启动项目都默认不开启,以免造成困扰吗?

这块儿当时应该考虑的是如果在本地环境里增加enabled字段,用户有可能在启动开发环境的状态下手动修改配置问题,然而直接修改时开发环境是不会生效的,应该是怕造成困扰(也许这个担心是多余的)

保存时过滤逻辑保留,提供 enable all 和 disable all 两个按钮

👍
还可以考虑给start 增加一个参数, --auto-mock

from rocketact.

beanlee avatar beanlee commented on May 20, 2024

OK,打算加按钮这么搞,不过文档上加一行说明,当前修改代理mock的状态并不会同步保存

from rocketact.

beanlee avatar beanlee commented on May 20, 2024

enableall

Tada~

from rocketact.

loveky avatar loveky commented on May 20, 2024

👏 👏 👏 👏

from rocketact.

Related Issues (20)

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.