Skip to content

The template does not define the corresponding attribute, and assigns a number type directly through el, throw an wran of a string #5793

Closed
@hcg1023

Description

@hcg1023

Version

3.2.33

Reproduction link

sfc.vuejs.org/

Steps to reproduce

Define a props of type number and assign it directly to el, throwing a warning that the value is a string and that the value type in state becomes a string

What is expected?

It is a value of type number

What is actually happening?

It is a string

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions