|
@@ -1,7 +1,7 @@
|
|
|
import { VNode } from './vnode'
|
|
import { VNode } from './vnode'
|
|
|
import { Data, ComponentInternalInstance, Component } from './component'
|
|
import { Data, ComponentInternalInstance, Component } from './component'
|
|
|
import { isString, isFunction } from '@vue/shared'
|
|
import { isString, isFunction } from '@vue/shared'
|
|
|
-import { toRaw, isRef, pauseTracking, resumeTracking } from '@vue/reactivity'
|
|
|
|
|
|
|
+import { toRaw, isRef, pauseTracking, resetTracking } from '@vue/reactivity'
|
|
|
import { callWithErrorHandling, ErrorCodes } from './errorHandling'
|
|
import { callWithErrorHandling, ErrorCodes } from './errorHandling'
|
|
|
|
|
|
|
|
type ComponentVNode = VNode & {
|
|
type ComponentVNode = VNode & {
|
|
@@ -60,7 +60,7 @@ export function warn(msg: string, ...args: any[]) {
|
|
|
console.warn(...warnArgs)
|
|
console.warn(...warnArgs)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- resumeTracking()
|
|
|
|
|
|
|
+ resetTracking()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function getComponentTrace(): ComponentTraceStack {
|
|
function getComponentTrace(): ComponentTraceStack {
|