You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by qi...@apache.org on 2021/03/02 05:50:56 UTC

[skywalking-rocketbot-ui] branch master updated: fix: update pageSize (#434)

This is an automated email from the ASF dual-hosted git repository.

qiuxiafan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new febdd52  fix: update pageSize (#434)
febdd52 is described below

commit febdd527c97855d2da9548b17f21d74d5668d6b1
Author: Qiuxia Fan <fi...@outlook.com>
AuthorDate: Tue Mar 2 13:50:40 2021 +0800

    fix: update pageSize (#434)
---
 src/views/components/log/log-bar.vue | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/components/log/log-bar.vue b/src/views/components/log/log-bar.vue
index 31834d1..a98885c 100644
--- a/src/views/components/log/log-bar.vue
+++ b/src/views/components/log/log-bar.vue
@@ -66,7 +66,7 @@ limitations under the License. -->
           <span class="vm">{{ this.$t('clear') }}</span>
         </a>
 
-        <RkPage :currentSize="10" :currentPage="pageNum" @changePage="handleRefresh" :total="logState.total" />
+        <RkPage :currentSize="pageSize" :currentPage="pageNum" @changePage="handleRefresh" :total="logState.total" />
       </span>
     </div>
     <div class="flex-h" v-show="showConditionsBox">
@@ -108,6 +108,7 @@ limitations under the License. -->
     private cateGoryBrowser = 'browser';
     private showConditionsBox = true;
     private logPage = 'Log';
+    private pageSize = 20;
 
     private beforeMount() {
       this.MIXHANDLE_GET_OPTION({
@@ -170,7 +171,7 @@ limitations under the License. -->
                 serviceVersionId: currentInstance.key,
                 pagePathId: currentEndpoint.key,
                 category: category.key,
-                paging: { pageNum: this.pageNum, pageSize: 35, needTotal: true },
+                paging: { pageNum: this.pageNum, pageSize: this.pageSize, needTotal: true },
                 queryDuration: conditions.date,
               }
             : {
@@ -185,7 +186,7 @@ limitations under the License. -->
                     : undefined,
                 relatedTrace: conditions.traceId ? { traceId: conditions.traceId } : undefined,
                 tags: conditions.tags,
-                paging: { pageNum: this.pageNum, pageSize: 35, needTotal: true },
+                paging: { pageNum: this.pageNum, pageSize: this.pageSize, needTotal: true },
                 queryDuration: conditions.traceId ? undefined : conditions.date,
               },
       });