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

fix: fix style expression logic #394

Merged
merged 1 commit into from
Jun 27, 2023
Merged

fix: fix style expression logic #394

merged 1 commit into from
Jun 27, 2023

Conversation

Aarebecca
Copy link
Collaborator

修正样式表达式逻辑:

  • 数值转为 number 类型比较
  • 其他类型统一转为 string 类型

例如,原始数据为

{
  val1: true,
  val2: "true",
  val3: undefined,
}

表达式
val1 eql true ➡️ true
val2 eql true ➡️ true
val3 eql undefined ➡️ true

@github-actions
Copy link

你好, @Aarebecca CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复

Hello, @Aarebecca CI run failed, please click the [Details] button for detailed log information and fix it.

Copy link
Member

@pomelo-nwu pomelo-nwu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pomelo-nwu pomelo-nwu merged commit 3c576e9 into master Jun 27, 2023
@pomelo-nwu pomelo-nwu deleted the fix/expression-group branch June 27, 2023 11:45
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

Successfully merging this pull request may close these issues.

2 participants