alibaba / alibaba/lowcode-engine
如何在变量绑定对话框中拿到JSExpression 的运行结果
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
## **Describe the bug (required)** / **详细描述 bug(必填)**
如何在变量绑定对话框中拿到JSExpression 的运行结果?
目前的变量绑定无法直观获得表达式结果。

---
## **To Reproduce (required)** / **如何复现 bug?(必填,非常重要)**
Steps to reproduce the behavior: / 详细复现步骤:

1. 点击变量绑定
---
## **Expected behavior (required)** / **预期行为(必填,非常重要)**
期望在VariableBindDialog插件中获取Js 表达式的运行结果,直观的展示出来。
目前VariableBindDialog中获取的field value是一个对象,无法获取运行后的结果。
`{
mock: "some mock data",
type: "JSExpression",
value: "this.state.text ?? 123123123"
}`
---
## 环境信息
- 引擎版本 1.0.8
- ext 版本 1.0.3
- 物料
- moment﹫2.24.0
- lodash
- iconfont-icons
- ﹫ant-design/icons﹫4.7.0
- antd﹫4.19.5
- ﹫alifd/next﹫1.23.0
- ﹫alilc/lowcode-materials﹫1.0.3
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.