Skip to content

Commit

Permalink
fix(shared): 修复 swiper 不能嵌套的问题,fix NervJS#8023
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen-jj authored and shinken008 committed Jan 19, 2021
1 parent 0805d8e commit 20dc541
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/shared/src/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ const nestElements = new Map([
['label', 6],
['form', 4],
['scroll-view', 4],
['swiper', 4]
['swiper', 4],
['swiper-item', 4]
])

const weixinAdapter: IAdapter = {
Expand Down

0 comments on commit 20dc541

Please sign in to comment.