mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
chore: using symbol as provide key (#8260)
This commit is contained in:
@@ -34,7 +34,7 @@ function getElementTranslateY(element: Element) {
|
||||
return Number(translateY);
|
||||
}
|
||||
|
||||
export const PICKER_KEY = 'vanPicker';
|
||||
export const PICKER_KEY = Symbol('Picker');
|
||||
|
||||
export type PickerObjectOption = {
|
||||
text?: string;
|
||||
|
Reference in New Issue
Block a user