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

优化前端导出参数类型,以及导出参数的赋值判断 #186

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DaiZero
Copy link

@DaiZero DaiZero commented Oct 27, 2022

  1. 参数params 的类型为object 时,不方便传入页面做深度的参数个性化处理(比如某些字段的前端模糊查询的实现),所以加上了函数类型。

  2. 单纯的if (temp) 会在temp 值为0false 时失效,无法达到真正传参的作用

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.

None yet

1 participant