From 37e686f25ead311d2689f6446e6763d36a402b22 Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 15 Sep 2020 12:41:56 -0400 Subject: [PATCH] chore: remove wip code --- packages/runtime-core/src/apiDefineComponent.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/runtime-core/src/apiDefineComponent.ts b/packages/runtime-core/src/apiDefineComponent.ts index 6fd77bc6..f3156332 100644 --- a/packages/runtime-core/src/apiDefineComponent.ts +++ b/packages/runtime-core/src/apiDefineComponent.ts @@ -176,14 +176,3 @@ export function defineComponent< export function defineComponent(options: unknown) { return isFunction(options) ? { setup: options, name: options.name } : options } - -defineComponent({ - async setup() { - return { - a: 123 - } - }, - render() { - this.a - } -})