Coder Social home page Coder Social logo

Comments (2)

baoxingjie avatar baoxingjie commented on May 3, 2024

QLExpress的宏和function主要是简化配置时候的理解成本,当然对于开发来说意义不大,但对系统业务配置人员。
你举得这个例子实际上主要是把method转化为为本地的function,而function是可以暴露成api列表给配置人员阅读的,而后面对应的method是系统级别的,需要制定class和methodName,不适合暴露给业务配置人员。

from qlexpress.

baoxingjie avatar baoxingjie commented on May 3, 2024

另外你说的这个不希望通过参数传入,应该要使用宏定义

runner.addMacro("转化为大写",“beanExample.upper(beanTest)”);

from qlexpress.

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.