Ver código fonte

```
refactor(components): 移除未使用的WdSticky组件类型声明

移除了src/components.d.ts中未使用的WdSticky组件类型定义,
以清理组件注册列表中的冗余项。

refactor(pages): 简化页面路由配置

从src/uni-pages.d.ts的路由配置中移除了重复的页面路径,
保持路由配置的简洁性。

zhangtao 1 dia atrás
pai
commit
4b7463d469
2 arquivos alterados com 1 adições e 3 exclusões
  1. 0 1
      src/components.d.ts
  2. 1 2
      src/uni-pages.d.ts

+ 0 - 1
src/components.d.ts

@@ -40,7 +40,6 @@ declare module 'vue' {
     WdStatusTip: typeof import('wot-design-uni/components/wd-status-tip/wd-status-tip.vue')['default']
     WdStep: typeof import('wot-design-uni/components/wd-step/wd-step.vue')['default']
     WdSteps: typeof import('wot-design-uni/components/wd-steps/wd-steps.vue')['default']
-    WdSticky: typeof import('wot-design-uni/components/wd-sticky/wd-sticky.vue')['default']
     WdSwiper: typeof import('wot-design-uni/components/wd-swiper/wd-swiper.vue')['default']
     WdTab: typeof import('wot-design-uni/components/wd-tab/wd-tab.vue')['default']
     WdTabbar: typeof import('wot-design-uni/components/wd-tabbar/wd-tabbar.vue')['default']

+ 1 - 2
src/uni-pages.d.ts

@@ -28,8 +28,7 @@ type _LocationUrl =
   "/subPack-common/revalue/index" |
   "/subPack-common/revalueSuccess/index" |
   "/subPack-common/user-center/index" |
-  "/subPack-smqjh/order/index" |
-  "/subPack-charge/index/index";
+  "/subPack-smqjh/order/index";
 
 interface NavigateToOptions {
   url: _LocationUrl;