There is no response when you click the check box after the assignment of the checkbox in vue elementui.

there are two radio radio in the project

                  <el-radio-group v-model="printData">
                    <el-radio label="isPrintName"></el-radio>
                    <el-radio label="isPrintFName"></el-radio>
                  </el-radio-group>
                  
                  
                  
                 data (){
                     printData:"isPrintName"
                 }

after calling a method to change the value of printData, there is no response when you click the check box, but the print data will find that it has already been selected, but the view layer has not been updated. Please give me your advice.

Mar.29,2021

 <el-button @click="printData='isPrintFName'"></el-button>
 <el-radio-group v-model="printData">
          <el-radio :label="'isPrintName'"></el-radio>
          <el-radio :label="'isPrintFName'"></el-radio>
 </el-radio-group>

try this with label preceded by:


what's the problem?


< el-radio label= "isPrintName" v muri model = "sss" > print name < / el-radio >
< el-radio label= "isPrintFName" v muri model = "sss" > print full name < / el-radio >

and initialize sss:''
in data return

Menu