Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromvuejs/vue

Commitae347a5

Browse files
rubysyyx990803
authored andcommitted
fix: ensure nextTick are passed to errorHandler (vuejs#6730)
1 parent6ad44e1 commitae347a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/core/util/env.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const nextTick = (function () {
8989
/* istanbul ignore if */// $flow-disable-line
9090
if(typeofPromise!=='undefined'&&isNative(Promise)){
9191
varp=Promise.resolve()
92-
varlogError=err=>{console.error(err)}
92+
varlogError=err=>{handleError(err,null,'nextTick')}
9393
timerFunc=()=>{
9494
p.then(nextTickHandler).catch(logError)
9595
// in problematic UIWebViews, Promise.then doesn't completely break, but

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp