diff --git a/src/views/Home.vue b/src/views/Home.vue index 93deec5..38d85c8 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -211,6 +211,9 @@ export default { console.log(err); }); } + if(this.nameList.length === this.tableData.length && this.pageNum>1) { + this.handleCurrentChange(this.pageNum - 1) + } }).catch(() => { this.$message.info("已取消删除"); }); diff --git a/src/views/Transaction.vue b/src/views/Transaction.vue index eaa9734..1207f18 100644 --- a/src/views/Transaction.vue +++ b/src/views/Transaction.vue @@ -54,7 +54,7 @@ 新增 - +
确 定 +