fix: table empty datasource error #3082
parent
71a3691edc
commit
aca5301dc0
|
@ -126,11 +126,10 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
$props: {
|
propsSymbol: {
|
||||||
handler() {
|
handler() {
|
||||||
this.setCheckState(this.$props);
|
this.setCheckState(this.$props);
|
||||||
},
|
},
|
||||||
deep: true,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1034,6 +1034,7 @@ export default defineComponent({
|
||||||
selections={rowSelection.selections}
|
selections={rowSelection.selections}
|
||||||
hideDefaultSelections={rowSelection.hideDefaultSelections}
|
hideDefaultSelections={rowSelection.hideDefaultSelections}
|
||||||
getPopupContainer={this.generatePopupContainerFunc(getPopupContainer)}
|
getPopupContainer={this.generatePopupContainerFunc(getPopupContainer)}
|
||||||
|
propsSymbol={Symbol()}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -178,6 +178,7 @@ export interface TableState {
|
||||||
// }
|
// }
|
||||||
|
|
||||||
export const SelectionCheckboxAllProps = {
|
export const SelectionCheckboxAllProps = {
|
||||||
|
propsSymbol: PropTypes.any,
|
||||||
store: Store,
|
store: Store,
|
||||||
locale: PropTypes.any,
|
locale: PropTypes.any,
|
||||||
disabled: PropTypes.looseBool,
|
disabled: PropTypes.looseBool,
|
||||||
|
|
Loading…
Reference in New Issue