Commit 682da225 authored by miaojiale's avatar miaojiale

修改bug

parent 05b20c01
......@@ -259,6 +259,9 @@ export default {
.then((res) => {
if (res.code == 1) {
this.$message.success("删除成功")
if (this.tableData.length == 1 && this.pageIndex != 1) {
this.pageIndex--
}
this.handleSearch()
}
})
......
......@@ -136,7 +136,7 @@ export default {
value: "filePath",
},
{
label: "上传时间",
label: "创建时间",
minWidth: 120,
value: "uploadTime",
},
......
......@@ -171,7 +171,7 @@ export default {
value: "filePath",
},
{
label: "上传时间",
label: "创建时间",
minWidth: 120,
value: "uploadTime",
},
......
......@@ -136,7 +136,7 @@ export default {
value: "filePath",
},
{
label: "上传时间",
label: "创建时间",
minWidth: 120,
value: "uploadTime",
},
......
......@@ -136,7 +136,7 @@ export default {
value: "filePath",
},
{
label: "上传时间",
label: "创建时间",
minWidth: 120,
value: "uploadTime",
},
......
......@@ -136,7 +136,7 @@ export default {
value: "filePath",
},
{
label: "上传时间",
label: "创建时间",
minWidth: 120,
value: "uploadTime",
},
......
......@@ -67,7 +67,7 @@ const mixin = {
this.form = {
status: 1,
}
this.pageIndex = 1
// this.pageIndex = 1
this.handleSearch()
}
})
......
......@@ -162,7 +162,7 @@ export default {
value: "filePath",
},
{
label: "上传时间",
label: "创建时间",
minWidth: 120,
value: "uploadTime",
},
......
......@@ -187,6 +187,9 @@ export default {
type: "success",
message: "删除成功!",
})
if (this.tableData.length == 1 && this.pageIndex != 1) {
this.pageIndex--
}
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