You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create any simple vue component using <script setup>, like so:
<template>
<div :class="id" :data-value="model"></div>
</template>
<scriptsetuplang="ts">defineProps<{ id:string;}>();const model =defineModel("model");</script>
In the <template> section, when binding a property (such as class or data-value) and writing the name of defined properties, models, or other variables (such as id or model, in the example), the suggestion box shows these variables twice, which may indicate that something is being processed twice...
What is expected?
The variable name should appear only once.
What is actually happening?
The variable name appears twice.
Link to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered:
Vue - Official extension or vue-tsc version
2.1.6
VSCode version
1.9.42
Vue version
3.5.11
TypeScript version
5.6.2
System Info
package.json dependencies
Steps to reproduce
Create any simple vue component using
<script setup>
, like so:In the
<template>
section, when binding a property (such asclass
ordata-value
) and writing the name of defined properties, models, or other variables (such asid
ormodel
, in the example), the suggestion box shows these variables twice, which may indicate that something is being processed twice...What is expected?
The variable name should appear only once.
What is actually happening?
The variable name appears twice.
Link to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: