mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 02:57:50 +08:00
fix: table empty datasource error #3082
This commit is contained in:
parent
71a3691edc
commit
aca5301dc0
@ -126,11 +126,10 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
watch: {
|
||||
$props: {
|
||||
propsSymbol: {
|
||||
handler() {
|
||||
this.setCheckState(this.$props);
|
||||
},
|
||||
deep: true,
|
||||
},
|
||||
},
|
||||
|
||||
|
@ -1034,6 +1034,7 @@ export default defineComponent({
|
||||
selections={rowSelection.selections}
|
||||
hideDefaultSelections={rowSelection.hideDefaultSelections}
|
||||
getPopupContainer={this.generatePopupContainerFunc(getPopupContainer)}
|
||||
propsSymbol={Symbol()}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
@ -178,6 +178,7 @@ export interface TableState {
|
||||
// }
|
||||
|
||||
export const SelectionCheckboxAllProps = {
|
||||
propsSymbol: PropTypes.any,
|
||||
store: Store,
|
||||
locale: PropTypes.any,
|
||||
disabled: PropTypes.looseBool,
|
||||
|
Loading…
Reference in New Issue
Block a user