8000 warn when assignment in v-if in development mode · Issue #7631 · vuejs/vue · GitHub
[go: up one dir, main page]

Skip to content
warn when assignment in v-if in development mode #7631
Closed
@mu-yu

Description

@mu-yu

What problem does this feature solve?

this may fix errors made by misktake quickly.
e.g.:
there is a piece of code like v-if="a=b", but what I want is v-if="a===b"

What does the proposed API look like?

nothing here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0