mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 03:44:48 +00:00
chore: prefer named exports (#8315)
* chore: prefer named exports * chore: fix import
This commit is contained in:
@@ -31,7 +31,7 @@ import {
|
||||
import { useExpose } from '../composables/use-expose';
|
||||
|
||||
// Components
|
||||
import Picker from '../picker';
|
||||
import { Picker } from '../picker';
|
||||
|
||||
const currentYear = new Date().getFullYear();
|
||||
const [name] = createNamespace('date-picker');
|
||||
|
@@ -21,7 +21,7 @@ import { times, sharedProps, pickerKeys } from './utils';
|
||||
import { useExpose } from '../composables/use-expose';
|
||||
|
||||
// Components
|
||||
import Picker from '../picker';
|
||||
import { Picker } from '../picker';
|
||||
|
||||
const [name] = createNamespace('time-picker');
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import DatetimePicker from '..';
|
||||
import { DatetimePicker } from '..';
|
||||
import { mount } from '../../../test';
|
||||
|
||||
test('confirm & cancel event', () => {
|
||||
|
Reference in New Issue
Block a user