]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: remove wip code
authorEvan You <yyx990803@gmail.com>
Tue, 15 Sep 2020 16:41:56 +0000 (12:41 -0400)
committerEvan You <yyx990803@gmail.com>
Tue, 15 Sep 2020 16:41:56 +0000 (12:41 -0400)
packages/runtime-core/src/apiDefineComponent.ts

index 6fd77bc6e445a59d5503aabb50d698fdc42f5dfc..f3156332b457263dccef8ece5473b70528a977ed 100644 (file)
@@ -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
-  }
-})