File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ export const devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__
15
15
const UA = inBrowser && window . navigator . userAgent . toLowerCase ( )
16
16
export const isIE9 = UA && UA . indexOf ( 'msie 9.0' ) > 0
17
17
export const isAndroid = UA && UA . indexOf ( 'android' ) > 0
18
+ export const isIos = UA && / ( i p h o n e | i p a d | i p o d | i o s ) / i. test ( UA )
19
+ export const isWechat = UA && UA . indexOf ( 'micromessenger' ) > 0
18
20
19
21
let transitionProp
20
22
let transitionEndEvent
@@ -74,7 +76,7 @@ export const nextTick = (function () {
74
76
}
75
77
76
78
/* istanbul ignore if */
77
- if ( typeof MutationObserver !== 'undefined' ) {
79
+ if ( typeof MutationObserver !== 'undefined' && ! ( isWechat && isIos ) ) {
78
80
var counter = 1
79
81
var observer = new MutationObserver ( nextTickHandler )
80
82
var textNode = document . createTextNode ( counter )
You can’t perform that action at this time.
0 commit comments