Browse Source

fix: 解决文件列表跳转每页条数限制不生效的问题 (#3570)

pull/3573/head
zhengkunwang 11 months ago committed by GitHub
parent
commit
ce3b841ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      frontend/src/views/host/file-management/index.vue

2
frontend/src/views/host/file-management/index.vue

@ -499,11 +499,13 @@ const back = () => {
const jump = async (url: string) => {
const oldUrl = req.path;
const oldPageSize = req.pageSize;
// reset search params before exec jump
Object.assign(req, initData());
req.path = url;
req.containSub = false;
req.search = '';
req.pageSize = oldPageSize;
let searchResult = await searchFile();
globalStore.setLastFilePath(req.path);

Loading…
Cancel
Save