Commit dab48e4a authored by “yiyousong”'s avatar “yiyousong”

fix: 修复日志列表翻页错误

parent df63ace5
......@@ -129,18 +129,16 @@ export default {
// 获取日志列表
async getOperLogList() {
this.tableLoading = true;
let res = await getOperLogList({
pageInfo: {
prePageResult: this.size,
currPage: this.size,
},
query: {
logDateStart: this.BegindAndEndTime[0],
logDateEnd: this.BegindAndEndTime[1],
// siteId: this.siteId,
content: `%${this.searchName}%`,
},
});
let query = {
size: this.size,
page: this.current,
logDateStart: this.BegindAndEndTime[0],
logDateEnd: this.BegindAndEndTime[1],
};
if (this.searchName != "") {
query.content = `%${this.searchName}%`;
}
let res = await getOperLogList(query);
this.tableLoading = false;
this.dict = res.data.dict;
if (res.code === 1) {
......
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