Skip to content

Commit

Permalink
fix: 调整微信小程序 CoverView 的特殊属性
Browse files Browse the repository at this point in the history
  • Loading branch information
jay4q authored and Chen-jj committed Apr 25, 2021
1 parent 624e98d commit 70f058f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/shared/src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,6 @@ const CoverImage = {

const CoverView = {
'scroll-top': 'false',
'marker-id': '',
'slot': '',
...touchEvents
}

Expand Down
4 changes: 4 additions & 0 deletions packages/taro-weapp/src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ export const components = {
'ad-type': singleQuote('banner'),
'ad-theme': singleQuote('white')
},
CoverView: {
'marker-id': '',
slot: '',
},
// ======== 额外组件 ========
Editor: {
'read-only': 'false',
Expand Down

0 comments on commit 70f058f

Please sign in to comment.