Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dx 表达式,不支持string类型 #230

Open
yellowcong opened this issue Jan 12, 2021 · 1 comment
Open

dx 表达式,不支持string类型 #230

yellowcong opened this issue Jan 12, 2021 · 1 comment

Comments

@yellowcong
Copy link

dx 支持boolean ,number 类型数据,但是不支持string类型比较,比如下面的比对,就不生效。
"dx: {{$root.field}} === 'string str' "

@daniel-dx
Copy link
Collaborator

这样就行:"dx: '{{$root.field}}' === 'string str' "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants