flx:修改页码问题

This commit is contained in:
X_Rian 2024-09-09 17:40:57 +08:00
parent c9aeee5e4d
commit 09bdf6a912
2 changed files with 11 additions and 3 deletions

View File

@ -657,6 +657,10 @@ export default {
}, ...res.result];
this.getCheckedNode(this.listData[0]);
}
this.$nextTick(() => {
// todo
this.$refs.tree.setCurrentKey(this.listData[0].id)
})
} else {
this.listData = []
}

View File

@ -461,6 +461,7 @@ export default {
cooperatorList: [], //
workerListOptions: [], //
projectGroupTypeList: [], //
deviceUnitList: [], //
};
},
created() {
@ -622,13 +623,16 @@ export default {
});
this.deleteDialog = false;
},
handleSizeChange() {
//
handleSizeChange(val) {
this.pageSize = val;
this.initData();
},
handleCurrentChange() {
//
handleCurrentChange(val) {
this.pageNo = val;
this.initData();
},
previewDetail(val) {
console.log("!!!!!!!!!!!!!!!!!!", val);
this.dialogFormVisible = false;