|
|
@ -1800,6 +1800,11 @@
|
|
|
|
deep: true,
|
|
|
|
deep: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
// addShortcut({
|
|
|
|
|
|
|
|
// key: 'Ctrl+Shift+A', // 自定义快捷键
|
|
|
|
|
|
|
|
// callback: () => alert('自定义快捷键触发'), // 快捷键回调函数
|
|
|
|
|
|
|
|
// isEditable: false, // 是否在编辑状态下允许使用快捷键
|
|
|
|
|
|
|
|
// }),
|
|
|
|
// 表格配置项
|
|
|
|
// 表格配置项
|
|
|
|
const settings = {
|
|
|
|
const settings = {
|
|
|
|
height: '400',
|
|
|
|
height: '400',
|
|
|
@ -1823,6 +1828,11 @@
|
|
|
|
hotTb.value.hotInstance.setDataAtRowProp(row, prop, '')
|
|
|
|
hotTb.value.hotInstance.setDataAtRowProp(row, prop, '')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
afterDocumentKeyDown: function (e) {
|
|
|
|
|
|
|
|
if (e.code === 'ArrowDown') {
|
|
|
|
|
|
|
|
console.log(e.target)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
columns: columns,
|
|
|
|
columns: columns,
|
|
|
|
// 此行直接复制,必须(非商用)
|
|
|
|
// 此行直接复制,必须(非商用)
|
|
|
|
licenseKey: 'non-commercial-and-evaluation',
|
|
|
|
licenseKey: 'non-commercial-and-evaluation',
|
|
|
|