Commit 7054eace authored by miaojiale's avatar miaojiale

1

parent d88c3781
...@@ -90,6 +90,9 @@ const mixin = { ...@@ -90,6 +90,9 @@ const mixin = {
.then((res) => { .then((res) => {
if (res.code == 1) { if (res.code == 1) {
this.$message.success("删除成功") this.$message.success("删除成功")
if (this.tableData.length == 1 && this.pageIndex != 1) {
this.pageIndex--
}
this.handleSearch() this.handleSearch()
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment