Skip to content

Commit

Permalink
chore: 升级Swiper 10
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Aug 9, 2023
1 parent cc4e08d commit e03a0f6
Show file tree
Hide file tree
Showing 4 changed files with 6,075 additions and 2,603 deletions.
1 change: 1 addition & 0 deletions build/optimize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const include = [
"v-contextmenu",
"vue-pdf-embed",
"wavesurfer.js",
"swiper/modules",
"china-area-data",
"vue-json-pretty",
"@logicflow/core",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"qs": "^6.11.2",
"responsive-storage": "^2.2.0",
"sortablejs": "^1.15.0",
"swiper": "^9.4.1",
"swiper": "^10.1.0",
"typeit": "^8.7.1",
"v-contextmenu": "3.0.0",
"v3-infinite-loading": "^1.2.2",
Expand Down
Loading

1 comment on commit e03a0f6

@xiaoxian521
Copy link
Member Author

@xiaoxian521 xiaoxian521 commented on e03a0f6 Aug 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Swiper Vue 组件可能会在未来版本中被删除。建议迁移到 Swiper Element
image

虽然官方建议迁移到 Swiper Element (WebComponent) 但是经过我的测试,该建议对vue来说,没有组件的props提示以及会报swiper-containerswiper-slide未注册的问题,且官方暂时没给出解决办法,目前来说不建议迁移

Please sign in to comment.