|
|
@@ -422,7 +422,8 @@ export default {
|
|
|
oldList: [], // 子表旧数据
|
|
|
importList: [],
|
|
|
importValue: null,
|
|
|
- actionButton: null
|
|
|
+ actionButton: null,
|
|
|
+ sortFlag: false
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -653,6 +654,7 @@ export default {
|
|
|
tem.forEach((t, index) => {
|
|
|
t.tenantId = index
|
|
|
})
|
|
|
+ this.sortFlag = true
|
|
|
this.$emit('update:value', tem)
|
|
|
},
|
|
|
handleRefreshTable() {
|
|
|
@@ -674,8 +676,10 @@ export default {
|
|
|
this.$emit('change-data', key, val)
|
|
|
},
|
|
|
handlePagination(val) {
|
|
|
- if (this.canSortable) {
|
|
|
+ if (this.canSortable && this.sortFlag) {
|
|
|
+ console.log('我tmd的来了')
|
|
|
this.copDataModel = []
|
|
|
+ this.sortFlag = false
|
|
|
}
|
|
|
this.$nextTick(() => {
|
|
|
this.totalCount = val.length
|