1、html
<aw-widget prop="data.aaaa"></aw-widget>
2、model.json
"aaaa": { "displayName":"aaaa", "type": "STRINGARRAY", "isRequired": "true", "isEditable": "false", "isArray": "true", "dispValue": "", "labelPosition": "PROPERTY_LABEL_AT_SIDE" }
3、异常,没有把数据显示出来
4、解决:主要是要设置好displayValsModel属性
data[item].displayValsModel = [] data[item].dbValue.forEach(value=>{ data[item].displayValsModel.push({displayValue:value,selected: false}) })
标签:widget,false,数组,item,displayValsModel,aw,data From: https://www.cnblogs.com/wwssgg/p/17656727.html