ソースを参照

chore: correct the issue number (#11715) [ci skip]

edison 1 年間 前
コミット
342657b717
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/runtime-core/src/apiDefineComponent.ts

+ 1 - 1
packages/runtime-core/src/apiDefineComponent.ts

@@ -297,7 +297,7 @@ export function defineComponent(
   extraOptions?: ComponentOptions,
 ) {
   return isFunction(options)
-    ? // #8326: extend call and options.name access are considered side-effects
+    ? // #8236: extend call and options.name access are considered side-effects
       // by Rollup, so we have to wrap it in a pure-annotated IIFE.
       /*#__PURE__*/ (() =>
         extend({ name: options.name }, extraOptions, { setup: options }))()