Multiple definitions of an attribute are not allowed in Unhandled promise rejection SyntaxError: strict mode

problem description

for vue-cli-based projects, an attribute is not allowed to be defined multiple times in: Unhandled promise rejection SyntaxError: strict mode in IE11 browser, as shown in the following figure:
clipboard.png
which god knows what caused this?

Feb.18,2022

this has been discussed by an issue in vue, which has not been solved yet. The subject checks whether he has an input component of dynamic type.
similar:

{
    value: a,
    value: a,
}

in ie strict mode, strict mode does not allow multiple errors in the definition of for an attribute.

the solution is to remove the handwritten : value= "a"

Menu