Try removing the extra positional arguments, or specifying the name for named arguments.

The error picture should be like this.

Component passing is different from general function passing parameters. We need to add the name of each parameter declaration in parentheses where it is called.

For example:

When declaring:

When calling: 

Supongo que te gusta

Origin blog.csdn.net/DongShanYuXiao/article/details/132117207
Recomendado
Clasificación