mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-23 11:59:34 +08:00
Table using load to click to expand will trigger multiple load callbacks (#9397)
* Cannot read properties of null (reading 'id') If columnKey is not set, execute clearFilter and prompt Cannot read properties of null (reading 'id') Suggestion: Add judgment to clearly prompt developers * Update util.ts * Update util.ts * Update util.ts * Update config.ts * fix:table * Update util.ts
This commit is contained in:
parent
6e3774f94c
commit
0373b01940
@ -198,6 +198,9 @@ export function treeCellPrefix<T>(
|
||||
const ele: VNode[] = []
|
||||
const callback = function (e) {
|
||||
e.stopPropagation()
|
||||
if (treeNode.loading) {
|
||||
return
|
||||
}
|
||||
store.loadOrToggle(row)
|
||||
}
|
||||
if (treeNode.indent) {
|
||||
|
Loading…
Reference in New Issue
Block a user