Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix(wechat): 修复 CoverView markerId 属性
Browse files Browse the repository at this point in the history
fix #1490
  • Loading branch information
yesmeck committed Mar 5, 2021
1 parent 9baf852 commit a1191f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { BaseProps } from '../../types/component';
export interface CoverViewProps extends BaseProps {
/** 设置顶部滚动偏移量,仅在设置了 overflow-y: scroll 成为滚动元素后生效 2.1.0 */
scrollTop?: number | string;
markerId?: string;
}

/**
Expand Down
1 change: 1 addition & 0 deletions packages/remax-wechat/src/hostComponents/CoverView/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const alias = {
style: 'style',
animation: 'animation',
scrollTop: 'scroll-top',
markerId: 'marker-id',
onTap: 'bindtap',
onClick: 'bindtap',
};
Expand Down

2 comments on commit a1191f3

@vercel
Copy link

@vercel vercel bot commented on a1191f3 Mar 5, 2021

Choose a reason for hiding this comment

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

@yesmeck
Copy link
Member Author

@yesmeck yesmeck commented on a1191f3 Mar 5, 2021

Choose a reason for hiding this comment

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

fix #1424

Please sign in to comment.