双层嵌套单选

需求:存在多个分类,每个分类里有多个选项,选项之间单选

 
      
{{ item[0].mainTagName }}
{{ item2.data[0].tagName }}

// 返回的数据格式如下

"data":{
"rfid":[{
"mainTagName":"RFID标签",
"mainTagKey":"rfid",
"data":[{"id":"10000","mainTagName":"RFID标签","mainTagKey":"rfid","tagName":"RFID标签
(80*40)","tagPath":"http://192.168.1.202:9000/filesUpload/rfidTag/RFID_580_300.png","tagTemplate/Path":"/nginx/html/filesUpload/report/template/RFID_580_300.jasper","tagSize":"80*40","printIsDefa/ult":0,"tagSr":"70","tagSc":"70"}]
}],
"putong":[{"mainTagName":"普通标签","mainTagKey":"putong",
"data":[{"id":"10002","mainTagName":"普通标签","mainTagKey":"putong","tagName":"普通(75*20)","tagPath":"http://192.168.1.202:9000/filesUpload/rfidTag/RFID_576_140.png","tagTemplatePath":"/nginx/html/filesUpload/report/template/RFID_576_140.jasper","tagSize":"75*20","printIsDefault":1,"tagSr":"5","tagSc":"40"}]
}]
}

你可能感兴趣的:(双层嵌套单选)