Skip to content

JSDoc 参数显示无限重复(在模板中) #5937

@WangJincheng4869

Description

@WangJincheng4869

Vue - Official extension or vue-tsc version

3.2.2

VSCode version

1.108

Vue version

^3.5.26

TypeScript version

5.9.3

System Info

package.json dependencies

Steps to reproduce

每次鼠标悬浮都会增加一套

Image

What is expected?

不应该无限增加

What is actually happening?

无限增加,在以下写法下:

<SpDisableSwitch
    v-model="row.isDisabled"
    size="small"
    :toggle-api="isDisabled => fetchAiKbUpdateDocumentsDisableStatus(row.datasetId, row.id, isDisabled)"
 />

Link to minimal reproduction

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions