fix: table empty datasource error #3082
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