fix: 表格选中单元格后失焦报错(#35)

This commit is contained in:
pipipi-pikachu 2021-06-08 16:46:24 +08:00
parent ef1876869c
commit 0bc2586de8

View File

@ -260,7 +260,7 @@ export default defineComponent({
//
const updateTextAttrState = () => {
if (!handleElement.value) return
if (!handleElement.value || handleElement.value.type !== 'table') return
let rowIndex = 0
let colIndex = 0