chore: prefer named exports (#8315)
* chore: prefer named exports * chore: fix import
This commit is contained in:
@@ -8,7 +8,7 @@ import { useScrollParent } from '@vant/use';
|
||||
import { useTouch } from '../composables/use-touch';
|
||||
|
||||
// Components
|
||||
import Loading from '../loading';
|
||||
import { Loading } from '../loading';
|
||||
|
||||
const [name, bem, t] = createNamespace('pull-refresh');
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
<script lang="ts">
|
||||
import { computed, onMounted, reactive, toRefs } from 'vue';
|
||||
import { useTranslate } from '@demo/use-translate';
|
||||
import Toast from '../../toast';
|
||||
import { Toast } from '../../toast';
|
||||
|
||||
const i18n = {
|
||||
'zh-CN': {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import PullRefresh from '..';
|
||||
import { PullRefresh } from '..';
|
||||
import {
|
||||
mount,
|
||||
later,
|
||||
|
||||
Reference in New Issue
Block a user