From 49089d3dc14ec46a11d16cd5a247e4f4246ca537 Mon Sep 17 00:00:00 2001 From: songjianet <1778651752@qq.com> Date: Tue, 14 Dec 2021 22:01:03 +0800 Subject: [PATCH] [Fix][Project List UI] Fix the calling interface that keeps decreasing by one after manually setting the `pageNo` parameter. (#7413) --- .../src/js/conf/home/pages/projects/pages/list/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/index.vue index 57a9e7d9b4..d274e57c23 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/index.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/list/index.vue @@ -114,7 +114,7 @@ this.isLoading = !flag this.getProjectsList(this.searchParams).then(res => { if (this.searchParams.pageNo > 1 && res.totalList.length === 0) { - this.searchParams.pageNo = this.searchParams.pageNo - 1 + this.searchParams.pageNo = 1 } else { this.projectsList = [] this.projectsList = res.totalList