fix(table): editable cell can not submit
修复可编辑单元格某些情况下无法提交的问题
This commit is contained in:
parent
2346a90c08
commit
ba2c1a3bf5
|
|
@ -1,3 +1,10 @@
|
||||||
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
- **BasicTable** 修复可编辑单元格某些情况下无法提交的问题
|
||||||
|
- **BasicModal**
|
||||||
|
- 修复点击遮罩、按下`Esc`键都不能关闭`Modal`的问题
|
||||||
|
- 修复点击关闭按钮、最大化按钮旁边的空白区域也会导致`Modal`关闭的问题
|
||||||
|
|
||||||
## 2.7.2(2021-09-14)
|
## 2.7.2(2021-09-14)
|
||||||
|
|
||||||
### ✨ Features
|
### ✨ Features
|
||||||
|
|
|
||||||
|
|
@ -246,7 +246,7 @@
|
||||||
if (!record) return false;
|
if (!record) return false;
|
||||||
const { key, dataIndex } = column;
|
const { key, dataIndex } = column;
|
||||||
const value = unref(currentValueRef);
|
const value = unref(currentValueRef);
|
||||||
if (!key || !dataIndex) return;
|
if (!key && !dataIndex) return;
|
||||||
|
|
||||||
const dataKey = (dataIndex || key) as string;
|
const dataKey = (dataIndex || key) as string;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue