Skip to content

Commit

Permalink
fix(mp-weixin): 处理 previewImage 不支持的参数
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyucoding committed May 9, 2019
1 parent 8516fa7 commit f41e15a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/platforms/mp-weixin/service/api/protocols.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import normalizePreviewImageArgs from '../../helpers/normalize-preview-image-args'
export const protocols = {
previewImage: {
args: normalizePreviewImageArgs
args (fromArgs) {
normalizePreviewImageArgs(fromArgs)
return {
indicator: false,
loop: false
}
}
}
}
export const todos = []
Expand Down

0 comments on commit f41e15a

Please sign in to comment.