Skip to content

Commit

Permalink
chore: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 23, 2021
1 parent 0b8b576 commit 075889e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/compiler-sfc/src/compileScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
} }`
}
Expand Down

0 comments on commit 075889e

Please sign in to comment.