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

[Feature] sort、max 函数排序优化 #521

Open
4 tasks done
NineHolic opened this issue Apr 12, 2024 · 0 comments
Open
4 tasks done

[Feature] sort、max 函数排序优化 #521

NineHolic opened this issue Apr 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@NineHolic
Copy link

NineHolic commented Apr 12, 2024

Verify steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Need 当前 QD 框架并不包含该功能特性或者还不完善
  • Framework 这是 QD 框架应包含的特性,并非模板特性
  • Meaningful 我提交的不是无意义的 催促更新或修复 请求

Describe the Feature

image
对列表进行排序:{{nums|sort}},最大值:{{nums|max}}
排序后:['0', '1', '10', '3', '32', '4', '5'],最大值:5
结果没有按数字实际大小排序,最大值也不对

Describe the solution

框架提取的变量是字符串,最后按字符串的字典顺序进行了排序,而不是按照数字的大小,希望可以优化一下

Describe alternatives

No response

Additional context

No response

@NineHolic NineHolic added the enhancement New feature or request label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant