data() {return {
search: { //查询参数keyword: \"\productSpec:\"\"},
tagSearchModel: {},}
//设置属性值
reponse.data.FObject.forEach(item => {
this.$set(this.tagSearchModel, \"line_\" + item.FTagID, \"\");});
Html上使⽤:
@select=\"handleSelect(item.FTagName,$event)\">
//打印看看是否动态绑定了
// alert(eval(\"this.tagSearchModel.line_\" + 3041));
因篇幅问题不能全部显示,请点此查看更多更全内容