This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 1f1edb2 [Fix][Project List UI] Fix the calling interface that keeps
decreasing by one after manually setting the `pageNo` parameter. (#7399)
1f1edb2 is described below
commit 1f1edb2f23d5a93b2d80f5caf521ea43a81bc374
Author: songjianet <[email protected]>
AuthorDate: Tue Dec 14 16:31:08 2021 +0800
[Fix][Project List UI] Fix the calling interface that keeps decreasing by
one after manually setting the `pageNo` parameter. (#7399)
---
.../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 7457f3c..a80116e 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