Skip to content

Conversation

@zombieJ
Copy link
Member

@zombieJ zombieJ commented Mar 8, 2022

@vercel
Copy link

vercel bot commented Mar 8, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/react-component/cascader/H8Cr8o7DMce6aUip4rpBafwpvdw2
✅ Preview: https://cascader-git-fix-empty-react-component.vercel.app

@codecov
Copy link

codecov bot commented Mar 8, 2022

Codecov Report

Merging #252 (afdfd3d) into master (e956667) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #252   +/-   ##
=======================================
  Coverage   99.79%   99.79%           
=======================================
  Files          15       15           
  Lines         485      486    +1     
  Branches      122      123    +1     
=======================================
+ Hits          484      485    +1     
  Misses          1        1           
Impacted Files Coverage Δ
src/OptionList/index.tsx 100.00% <ø> (ø)
src/OptionList/Column.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e956667...afdfd3d. Read the comment docs.

@zombieJ zombieJ merged commit 2f4337a into master Mar 8, 2022
@zombieJ zombieJ deleted the fix-empty branch March 8, 2022 07:19
import type { DefaultOptionType, SingleValueType } from '../Cascader';
import { SEARCH_MARK } from '../hooks/useSearchOptions';

export const FIX_LABEL = '__cascader_fix_label__';
Copy link
Member

Choose a reason for hiding this comment

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

用 Symbol?

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.

Cascader 使用 fieldNames label 与 value 设置相同字符有显示问题

3 participants