This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch 2.0.2-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/2.0.2-prepare by this push:
new 49089d3 [Fix][Project List UI] Fix the calling interface that keeps
decreasing by one after manually setting the `pageNo` parameter. (#7413)
49089d3 is described below
commit 49089d3dc14ec46a11d16cd5a247e4f4246ca537
Author: songjianet <[email protected]>
AuthorDate: Tue Dec 14 22:01:03 2021 +0800
[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 57a9e7d..d274e57 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