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

feat(cascader): support custom options #INFR-12126 #3071

Merged
merged 7 commits into from
Apr 11, 2024

Conversation

FrankWang117
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Apr 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tethys ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2024 7:40am

return;
}

let selectedCustomOpts = this.getSelectedCustomOpts();
Copy link
Contributor

Choose a reason for hiding this comment

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

变量名尽量写全,不要缩写。(见Wiki页面 前端代码编程规范)
image
image

单元测试里同理。


public values: SafeAny[] = ['all'];

public singleValues: any[] = ['12', '1201', '120102'];
Copy link
Contributor

Choose a reason for hiding this comment

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

SafeAny 和 any 统一用其中一个。 一般情况下建议指定具体类型

@FrankWang117 FrankWang117 merged commit e352fb0 into master Apr 11, 2024
7 checks passed
@FrankWang117 FrankWang117 deleted the frank/#INFR-12126 branch April 11, 2024 07:44
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

2 participants