We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
columnOption 中 { columnKey: 'name', minWidth: "100px", label: '文字', propId: 'text', propText: 'text', editType: 'Input', }, //第二个input列 { columnKey: 'name2', minWidth: "100px", label: '文字2', propId: 'name2', propText: 'name2', editType: 'Input', },
报错地方 case 'Input': case 'InputNumber': // console.log('refs:',this.$refs); // console.log('rowid:columnId',this.editingCellInfo.rowId,columnId,this.editingCellInfo.columnId); // console.log('buildCellRef:',this.buildCellRef(this.editingCellInfo.rowId, this.editingCellInfo.columnId)); let ff = this.buildCellRef(this.editingCellInfo.rowId, this.editingCellInfo.columnId); //bug 下行这里将取不到值 *********************************************** let aa = this.$refs[ff]; if (aa !== undefined) { let changeValue = aa[0].value; // console.log('changeValue:'+ changeValue) this.$set(row, columnOption.propId, changeValue); } break;
The text was updated successfully, but these errors were encountered:
感谢反馈。添加多个input,切换单元格报错的问题已经修复
Sorry, something went wrong.
No branches or pull requests
columnOption 中
{
columnKey: 'name',
minWidth: "100px",
label: '文字',
propId: 'text',
propText: 'text',
editType: 'Input',
},
//第二个input列
{
columnKey: 'name2',
minWidth: "100px",
label: '文字2',
propId: 'name2',
propText: 'name2',
editType: 'Input',
},
报错地方
case 'Input':
case 'InputNumber':
// console.log('refs:',this.$refs);
// console.log('rowid:columnId',this.editingCellInfo.rowId,columnId,this.editingCellInfo.columnId);
// console.log('buildCellRef:',this.buildCellRef(this.editingCellInfo.rowId, this.editingCellInfo.columnId));
let ff = this.buildCellRef(this.editingCellInfo.rowId, this.editingCellInfo.columnId);
//bug 下行这里将取不到值 ***********************************************
let aa = this.$refs[ff];
if (aa !== undefined) {
let changeValue = aa[0].value;
// console.log('changeValue:'+ changeValue)
this.$set(row, columnOption.propId, changeValue);
}
break;
The text was updated successfully, but these errors were encountered: