Эх сурвалжийг харах

feat(manifest): 启用懒加载组件配置

在 manifest.config.ts 中添加 lazyCodeLoading 配置项,用于启用小程序的按需注入功能,
提升应用启动性能。

chore(deps): 更新 wot-design-uni 版本并移除 uni-echarts

将 wot-design-uni 从 1.11.1 升级至 1.13.0 版本,同时由于该组件库已内置 echarts
支持,因此移除了单独依赖的 uni-echarts 包。
zhangtao 1 өдөр өмнө
parent
commit
8317bfcf6e
2 өөрчлөгдсөн 22 нэмэгдсэн , 3 устгасан
  1. 19 0
      src/components.d.ts
  2. 3 3
      src/pages.json

+ 19 - 0
src/components.d.ts

@@ -11,18 +11,37 @@ declare module 'vue' {
     GlobalMessage: typeof import('./components/GlobalMessage.vue')['default']
     GlobalToast: typeof import('./components/GlobalToast.vue')['default']
     PrivacyPopup: typeof import('./components/PrivacyPopup.vue')['default']
+    WdBadge: typeof import('wot-design-uni/components/wd-badge/wd-badge.vue')['default']
     WdButton: typeof import('wot-design-uni/components/wd-button/wd-button.vue')['default']
     WdCard: typeof import('wot-design-uni/components/wd-card/wd-card.vue')['default']
     WdCell: typeof import('wot-design-uni/components/wd-cell/wd-cell.vue')['default']
     WdCellGroup: typeof import('wot-design-uni/components/wd-cell-group/wd-cell-group.vue')['default']
+    WdCheckbox: typeof import('wot-design-uni/components/wd-checkbox/wd-checkbox.vue')['default']
+    WdCheckboxGroup: typeof import('wot-design-uni/components/wd-checkbox-group/wd-checkbox-group.vue')['default']
     WdConfigProvider: typeof import('wot-design-uni/components/wd-config-provider/wd-config-provider.vue')['default']
+    WdDivider: typeof import('wot-design-uni/components/wd-divider/wd-divider.vue')['default']
     WdIcon: typeof import('wot-design-uni/components/wd-icon/wd-icon.vue')['default']
+    WdInputNumber: typeof import('wot-design-uni/components/wd-input-number/wd-input-number.vue')['default']
     WdMessageBox: typeof import('wot-design-uni/components/wd-message-box/wd-message-box.vue')['default']
     WdNavbar: typeof import('wot-design-uni/components/wd-navbar/wd-navbar.vue')['default']
+    WdNoticeBar: typeof import('wot-design-uni/components/wd-notice-bar/wd-notice-bar.vue')['default']
     WdNotify: typeof import('wot-design-uni/components/wd-notify/wd-notify.vue')['default']
     WdPopup: typeof import('wot-design-uni/components/wd-popup/wd-popup.vue')['default']
+    WdRadio: typeof import('wot-design-uni/components/wd-radio/wd-radio.vue')['default']
+    WdRadioGroup: typeof import('wot-design-uni/components/wd-radio-group/wd-radio-group.vue')['default']
+    WdSidebar: typeof import('wot-design-uni/components/wd-sidebar/wd-sidebar.vue')['default']
+    WdSidebarItem: typeof import('wot-design-uni/components/wd-sidebar-item/wd-sidebar-item.vue')['default']
+    WdSortButton: typeof import('wot-design-uni/components/wd-sort-button/wd-sort-button.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']
+    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']
     WdTabbarItem: typeof import('wot-design-uni/components/wd-tabbar-item/wd-tabbar-item.vue')['default']
+    WdTabs: typeof import('wot-design-uni/components/wd-tabs/wd-tabs.vue')['default']
+    WdTag: typeof import('wot-design-uni/components/wd-tag/wd-tag.vue')['default']
+    WdTextarea: typeof import('wot-design-uni/components/wd-textarea/wd-textarea.vue')['default']
     WdToast: typeof import('wot-design-uni/components/wd-toast/wd-toast.vue')['default']
+    WdUpload: typeof import('wot-design-uni/components/wd-upload/wd-upload.vue')['default']
   }
 }

+ 3 - 3
src/pages.json

@@ -3,7 +3,7 @@
     {
       "path": "pages/index/index",
       "type": "home",
-      "name": "home",
+      "name": "smqjh-home",
       "layout": "tabbar",
       "style": {
         "navigationBarTitleText": "首页",
@@ -15,7 +15,7 @@
     {
       "path": "pages/cart/index",
       "type": "page",
-      "name": "cart",
+      "name": "smqjh-cart",
       "layout": "tabbar",
       "style": {
         "navigationBarTitleText": "购物车"
@@ -24,7 +24,7 @@
     {
       "path": "pages/my/index",
       "type": "page",
-      "name": "my",
+      "name": "smqjh-my",
       "layout": "tabbar",
       "style": {
         "navigationBarTitleText": "个人中心",