The el-radio value in elementui cannot be echoed

Generally, we are doing data echo. For example, during gender echo, a string is passed from the day after tomorrow to the front end, but the el-radio of the page cannot be echoed.

First see if there is a colon before lebel: ":" means to bind a dynamic variable

Secondly

Radio label is number type can be directly echoed

Insert picture description here

The radio label is of type String and cannot be displayed. You need to add a layer of quotation marks on the outermost layer.

Insert picture description here

Published 252 original articles · Like 106 · Visits 30,000+

Guess you like

Origin blog.csdn.net/weixin_42554191/article/details/105459373