fix: table pagination deep watch
parent
2e1c19471e
commit
c65e1def1b
|
@ -86,7 +86,8 @@ export default {
|
|||
}
|
||||
},
|
||||
watch: {
|
||||
pagination (val) {
|
||||
pagination: {
|
||||
handler (val) {
|
||||
this.setState(previousState => {
|
||||
const newPagination = {
|
||||
...defaultPagination,
|
||||
|
@ -98,6 +99,8 @@ export default {
|
|||
return { sPagination: val !== false ? newPagination : emptyObject }
|
||||
})
|
||||
},
|
||||
deep: true,
|
||||
},
|
||||
rowSelection: {
|
||||
handler (val) {
|
||||
if (val &&
|
||||
|
|
Loading…
Reference in New Issue