From 0a36d001d1be497d50e30b43abb9e02d36037f6e Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期四, 13 五月 2021 18:27:30 +0800 Subject: [PATCH] 分页 --- .env | 3 ++- src/components/helpers/WfsHelper.js | 4 ++++ 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/.env b/.env index d4d1f4c..1ca9c2b 100644 --- a/.env +++ b/.env @@ -2,7 +2,8 @@ NODE_ENV=development #vue椤圭洰 灞炴�у悕蹇呴』浠UE_APP_寮�澶达紝姣斿VUE_APP_XXX VUE_APP_MOCK=true -VUE_APP_API_HOST=http://xearth.cn:3000 +#VUE_APP_API_HOST=http://xearth.cn:3000 +VUE_APP_API_HOST=http://10.238.235.179:3000 VUE_APP_API_TOKEN_URL=https://auth.uat.siam.sinopec.com/ VUE_APP_API_BASE_URL=/api VUE_APP_CLIENT_ID=no_apply diff --git a/src/components/helpers/WfsHelper.js b/src/components/helpers/WfsHelper.js index 45cfa17..fb69871 100644 --- a/src/components/helpers/WfsHelper.js +++ b/src/components/helpers/WfsHelper.js @@ -105,6 +105,10 @@ this.params.startIndex = startIndex this.page = page } + + this.setPageSize = (pageSize) => { + this.pageSize = pageSize + } } export default WfsHelper -- Gitblit v1.8.0