diff --git a/.gitignore b/.gitignore index 38adffa..6609edf 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,8 @@ yarn-debug.log* yarn-error.log* pnpm-debug.log* lerna-debug.log* - +components.d.ts* +auto-imports.d.ts* node_modules .DS_Store dist diff --git a/components.d.ts b/components.d.ts index cdcbad3..b66a045 100644 --- a/components.d.ts +++ b/components.d.ts @@ -14,5 +14,9 @@ declare module '@vue/runtime-core' { RouterView: typeof import('vue-router')['RouterView'] SelectItem: typeof import('./src/components/selectStyle/selectItem.vue')['default'] SvgIcon: typeof import('./src/components/SvgIcon/index.vue')['default'] + VanDialog: typeof import('vant/es')['Dialog'] + VanIcon: typeof import('vant/es')['Icon'] + VanSwipe: typeof import('vant/es')['Swipe'] + VanSwipeItem: typeof import('vant/es')['SwipeItem'] } } diff --git a/src/views/login/SignupPage.vue b/src/views/login/SignupPage.vue index 10899af..df4dd49 100644 --- a/src/views/login/SignupPage.vue +++ b/src/views/login/SignupPage.vue @@ -1,38 +1,36 @@