mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 16:29:17 +08:00
fix: 解决日志审计-网站切换网站日志显示错误的问题 (#2829)
This commit is contained in:
parent
ebe74d905c
commit
dd60eb099d
@ -25,7 +25,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template #search>
|
<template #search>
|
||||||
<div>
|
<div>
|
||||||
<el-select v-model="logReq.id" @change="search()">
|
<el-select v-model="logReq.id" @change="changeWebsite()">
|
||||||
<template #prefix>{{ $t('website.website') }}</template>
|
<template #prefix>{{ $t('website.website') }}</template>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="(website, index) in websites"
|
v-for="(website, index) in websites"
|
||||||
@ -152,6 +152,14 @@ const changeType = (type: string) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const changeWebsite = () => {
|
||||||
|
logReq.page = 0;
|
||||||
|
logReq.pageSize = 500;
|
||||||
|
end.value = false;
|
||||||
|
content.value = '';
|
||||||
|
search();
|
||||||
|
};
|
||||||
|
|
||||||
const search = () => {
|
const search = () => {
|
||||||
if (!end.value) {
|
if (!end.value) {
|
||||||
logReq.page += 1;
|
logReq.page += 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user