mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
fix 修复非编辑列触发提示框问题
This commit is contained in:
@@ -2605,8 +2605,14 @@ const Methods = {
|
||||
const { row, column } = params
|
||||
const cell = evnt.currentTarget
|
||||
this.handleTargetEnterEvent(tooltipStore.column !== column || tooltipStore.row !== row)
|
||||
if (isEnableConf(editConfig)) {
|
||||
if ((editOpts.mode === 'row' && actived.row === row) || (actived.row === row && actived.column === column)) {
|
||||
// 单元格处于编辑状态时不触发提示框
|
||||
if (column.editRender && isEnableConf(editConfig)) {
|
||||
// 如果是行编辑模式
|
||||
if (editOpts.mode === 'row' && actived.row === row) {
|
||||
return
|
||||
}
|
||||
// 如果是单元格编辑模式
|
||||
if (actived.row === row && actived.column === column) {
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user