chore: update pages\index
This commit is contained in:
@@ -112,7 +112,7 @@ class DomEventBridge {
|
||||
return !event.defaultPrevented
|
||||
// #endif
|
||||
|
||||
// #ifdef MP - WEIXIN
|
||||
// #ifdef MP
|
||||
// 小程序环境不支持 DOM 事件
|
||||
return true
|
||||
// #endif
|
||||
|
||||
@@ -29,6 +29,39 @@ class EventBus {
|
||||
return 'weapp'
|
||||
// #endif
|
||||
|
||||
// #ifdef MP-ALIPAY
|
||||
return 'alipay'
|
||||
// #endif
|
||||
|
||||
// #ifdef MP-BAIDU
|
||||
return 'baidu'
|
||||
// #endif
|
||||
|
||||
// #ifdef MP-TOUTIAO
|
||||
return 'toutiao'
|
||||
// #endif
|
||||
|
||||
// #ifdef MP-QQ
|
||||
return 'qq'
|
||||
// #endif
|
||||
|
||||
// #ifdef MP-KUAISHOU
|
||||
return 'kuaishou'
|
||||
// #endif
|
||||
|
||||
// #ifdef MP-JD
|
||||
return 'jd'
|
||||
// #endif
|
||||
|
||||
// #ifdef MP-360
|
||||
return '360'
|
||||
// #endif
|
||||
|
||||
// #ifdef MP-XHS
|
||||
return 'xhs'
|
||||
// #endif
|
||||
|
||||
|
||||
return 'unknown'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user