diff --git a/packages/runtime-core/src/apiApp.ts b/packages/runtime-core/src/apiApp.ts index 7e0ed9723..bb0455ab4 100644 --- a/packages/runtime-core/src/apiApp.ts +++ b/packages/runtime-core/src/apiApp.ts @@ -31,7 +31,6 @@ export interface App { } export interface AppConfig { - silent: boolean devtools: boolean performance: boolean errorHandler?: ( @@ -65,7 +64,6 @@ export type Plugin = export function createAppContext(): AppContext { return { config: { - silent: false, devtools: true, performance: false, errorHandler: undefined, diff --git a/packages/runtime-core/src/warning.ts b/packages/runtime-core/src/warning.ts index 138b565b0..fc8a27bcd 100644 --- a/packages/runtime-core/src/warning.ts +++ b/packages/runtime-core/src/warning.ts @@ -1,6 +1,6 @@ import { VNode } from './vnode' import { Data, ComponentInstance } from './component' -import { isString } from '@vue/shared' +import { isString, EMPTY_OBJ } from '@vue/shared' import { toRaw } from '@vue/reactivity' let stack: VNode[] = []