98 Star 575 Fork 125

闲.大赋(李家智) / Beetl

 / 详情

自定义函数嵌套自定义函数

Backlog
Opened this issue  
2021-03-04 19:19

需要实现在函数的参数中传递一个函数,让两个函数都可以成功解析,有什么建议嘛
eg:
#{addDimField("groupA", "name", "姓名", "#{addDimField("groupA", "order", "订单")}" )}

Comments (1)

hello-will created任务
hello-will set related repository to 闲.大赋/Beetl
Expand operation logs

这个跟普通js调用差不多,比如

call(12,otherFun(paras))

所以你的例子应该是

eg:
#{addDimField("groupA", "name", "姓名", ""+addDimField("groupA", "order", "订单") )}

addDimField不知道返回类型,所以我用字符串想加

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(2)
29 xiandafu 1678706040
Java
1
https://gitee.com/xiandafu/beetl.git
git@gitee.com:xiandafu/beetl.git
xiandafu
beetl
Beetl

Search

344bd9b3 5694891 D2dac590 5694891