Skip to content

Commit

Permalink
Merge pull request #1345 from didi/feat-regionchange-ali
Browse files Browse the repository at this point in the history
修正支付宝事件代理后无法触发regionchange
  • Loading branch information
hiyuki authored Dec 1, 2023
2 parents a52236d + e4f1b28 commit 0cc59ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function proxyEventMixin () {
let fallbackType = ''
if (type === 'begin' || type === 'end') {
// 地图的 regionchange 事件会派发 e.type 为 begin 和 end 的事件
fallbackType = 'regionchange'
fallbackType = __mpx_mode__ === 'ali' ? 'regionChange' : 'regionchange'
} else if (/-([a-z])/.test(type)) {
fallbackType = dash2hump(type)
} else if (__mpx_mode__ === 'ali') {
Expand Down

0 comments on commit 0cc59ad

Please sign in to comment.