From: Evan You Date: Wed, 23 Jun 2021 14:21:33 +0000 (-0400) Subject: chore: comments X-Git-Tag: v3.1.3~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=075889ebfc90c50573e44f463862d306b0769dca;p=thirdparty%2Fvuejs%2Fcore.git chore: comments --- diff --git a/packages/compiler-sfc/src/compileScript.ts b/packages/compiler-sfc/src/compileScript.ts index 19a6bb6189..f802bdffdd 100644 --- a/packages/compiler-sfc/src/compileScript.ts +++ b/packages/compiler-sfc/src/compileScript.ts @@ -947,6 +947,8 @@ export function compileScript( } } returned = `{ ${Object.keys(allBindings).join(', ')}${ + // the `__isScriptSetup: true` flag is used by componentPublicInstance + // proxy to allow properties that start with $ or _ __TEST__ ? `` : `, __isScriptSetup: true` } }` }