fix(runtime-core): make errorCaptured return value handling consistent with Vue 2 (#2289)

fix #2267
This commit is contained in:
ᴜɴвʏтᴇ
2020-10-06 05:37:26 +08:00
committed by GitHub
parent ea1f87eabf
commit 4d20ac8173
3 changed files with 19 additions and 17 deletions

View File

@@ -609,7 +609,7 @@ describe('Suspense', () => {
err instanceof Error
? err.message
: `A non-Error value thrown: ${err}`
return true
return false
})
return () =>