fix table 初始化触发修改选中key事件
This commit is contained in:
parent
70b082a208
commit
89a638b782
@ -1102,7 +1102,9 @@ const _sfc_main = defineComponent({
|
||||
} else {
|
||||
hasChecked.value = false;
|
||||
}
|
||||
if (tableSelectedKeys.value != props.selectedKeys) {
|
||||
emit("update:selectedKeys", tableSelectedKeys.value);
|
||||
}
|
||||
}, { deep: true, immediate: true });
|
||||
watch(tableExpandKeys, () => {
|
||||
emit("update:expandKeys", tableExpandKeys.value);
|
||||
|
@ -19536,7 +19536,9 @@ const _sfc_main$D = defineComponent({
|
||||
} else {
|
||||
hasChecked.value = false;
|
||||
}
|
||||
if (tableSelectedKeys.value != props.selectedKeys) {
|
||||
emit("update:selectedKeys", tableSelectedKeys.value);
|
||||
}
|
||||
}, { deep: true, immediate: true });
|
||||
watch(tableExpandKeys, () => {
|
||||
emit("update:expandKeys", tableExpandKeys.value);
|
||||
|
@ -313,7 +313,9 @@ watch(
|
||||
} else {
|
||||
hasChecked.value = false;
|
||||
}
|
||||
if(tableSelectedKeys.value != props.selectedKeys){
|
||||
emit("update:selectedKeys", tableSelectedKeys.value);
|
||||
}
|
||||
},
|
||||
{ deep: true, immediate: true }
|
||||
);
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user