refactor(runtime-core): tweak component proxy implementation
This commit is contained in:
@@ -99,7 +99,7 @@ export function handleError(
|
||||
if (instance) {
|
||||
let cur = instance.parent
|
||||
// the exposed instance is the render proxy to keep it consistent with 2.x
|
||||
const exposedInstance = instance.renderProxy
|
||||
const exposedInstance = instance.proxy
|
||||
// in production the hook receives only the error code
|
||||
const errorInfo = __DEV__ ? ErrorTypeStrings[type] : type
|
||||
while (cur) {
|
||||
|
||||
Reference in New Issue
Block a user