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

Commit

Permalink
fix(wechat): fix preview media (#1617)
Browse files Browse the repository at this point in the history
* sync wechat picker props

add picker headerText prop

* sync wechat picker props

add wechat picker header-text prop

* sync wechat picker props

add wechat picker header-text prop

* feat: add wechat match-media component

* fix: remove unused props alias

* feat: add wechat page-container component

* feat: add wechat share-element component

* feat: wechat swiper component add snap-to-edge prop

* feat: wechat text component add user-select prop

* feat: wechat input component add always-embed prop

* docs: add share-element doc

* feat: add wechat keyboard-accessory component

* feat: remove wechat keyboard-accesssory unused alias

* feat: add wechat live-pusher prop

* feat: sync wechat video prop

* feat: add wechat voip-room component

* feat(wechat): 添加ad-custom 组件

* feat(wechat): 添加page-meta组件

* feat(wechat): 添加navigation-bar组件

* fix(wechat): 修复video组件backgroundPoster属性定义错误

* feat(wechat): 添加测试代码

* fix(wechat): 添加AppConfig缺少的声明

* test: update snapshot

* chore: lint fix

* fix(wechat): 修复page-meta、navigation-bar组件渲染错误

* feat: 补充wechat previewMedia api

Co-authored-by: Wei Zhu <[email protected]>
  • Loading branch information
douxc and yesmeck committed Jun 21, 2021
1 parent 4e292d3 commit 3995718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/remax-wechat/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export const clearStorage = promisify(wx.clearStorage);
export const createMapContext = wx.createMapContext;
export const saveImageToPhotosAlbum = promisify(wx.saveImageToPhotosAlbum);
export const previewImage = promisify(wx.previewImage);
export const previewMedia = promisify(wx.previewMedia);
export const getImageInfo = promisify(wx.getImageInfo);
export const compressImage = promisify(wx.compressImage);
export const chooseMessageFile = promisify(wx.chooseMessageFile);
Expand Down

0 comments on commit 3995718

Please sign in to comment.