fix: 修复导入时页码跳动问题

This commit is contained in:
ibuler 2021-08-17 18:46:48 +08:00 committed by Jiangjie.Bai
parent f30ba0a98d
commit a7aa763e37

View File

@ -840,7 +840,7 @@ export default {
this.$emit('selection-change', val)
},
totalData(val) {
if (val) {
if (val && val.length !== this.total) {
this.page = defaultFirstPage
this.total = val.length
this.getList()