File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
packages/compiler-sfc/src Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -170,8 +170,6 @@ export function compileScript(
170170 const scriptLang = script && script . lang
171171 const scriptSetupLang = scriptSetup && scriptSetup . lang
172172
173- let refBindings : string [ ] | undefined
174-
175173 if ( ! scriptSetup ) {
176174 if ( ! script ) {
177175 throw new Error ( `[@vue/compiler-sfc] SFC contains no <script> tags.` )
@@ -740,12 +738,6 @@ export function compileScript(
740738 for ( const key in setupBindings ) {
741739 ctx . bindingMetadata [ key ] = setupBindings [ key ]
742740 }
743- // known ref bindings
744- if ( refBindings ) {
745- for ( const key of refBindings ) {
746- ctx . bindingMetadata [ key ] = BindingTypes . SETUP_REF
747- }
748- }
749741
750742 // 7. inject `useCssVars` calls
751743 if (
You can’t perform that action at this time.
0 commit comments