mirror of
https://github.com/youzan/vant.git
synced 2026-05-05 01:00:55 +08:00
chore: prefer named exports (#8315)
* chore: prefer named exports * chore: fix import
This commit is contained in:
+4
-1
@@ -1,3 +1,4 @@
|
||||
// Utils
|
||||
import {
|
||||
ref,
|
||||
watch,
|
||||
@@ -15,7 +16,9 @@ import {
|
||||
createNamespace,
|
||||
ComponentInstance,
|
||||
} from '../utils';
|
||||
import Icon from '../icon';
|
||||
|
||||
// Components
|
||||
import { Icon } from '../icon';
|
||||
|
||||
const [name, bem] = createNamespace('image');
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { mount } from '../../../test';
|
||||
import { Lazyload } from '../../lazyload';
|
||||
import VanImage from '..';
|
||||
import Lazyload from '../../lazyload';
|
||||
|
||||
const IMAGE_URL = 'https://img.com';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user