Skip to content

Commit

Permalink
修复输出支付宝showModal返回参数兼容性问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackgan3 committed Nov 1, 2022
1 parent 2fd92bf commit b69f381
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/api-proxy/src/mini/platform/wxToAli.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ const getWxToAliApi = ({ optimize = false }) => {
confirmText: 'buttonText'
})

handleSuccess(opts, res => {
return changeOpts(res, undefined, { cancel: false, confirm: true })
})

ALI_OBJ.alert(opts)
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const TAG_NAME = 'map'
module.exports = function ({ print }) {
const aliPropLog = print({ platform: 'ali', tag: TAG_NAME, isError: false })
const aliEventLogError = print({ platform: 'ali', tag: TAG_NAME, isError: true, type: 'event' })
const aliPropValueWarningLog = print({ platform: 'ali', tag: TAG_NAME, isError: true, type: 'value-attr-uniform' })
const aliPropValueWarningLog = print({ platform: 'ali', tag: TAG_NAME, isError: false, type: 'value-attr-uniform' })
const baiduPropLog = print({ platform: 'baidu', tag: TAG_NAME, isError: false })
const baiduEventLogError = print({ platform: 'baidu', tag: TAG_NAME, isError: true, type: 'event' })
const jdPropLog = print({ platform: 'jd', tag: TAG_NAME, isError: false })
Expand Down

0 comments on commit b69f381

Please sign in to comment.