From 1d504c7645ca0e52b5692c9fb0f5c417880f8d16 Mon Sep 17 00:00:00 2001 From: zhuyue Date: Fri, 3 Sep 2021 15:06:01 +0800 Subject: [PATCH] fix: Fix lb download fix lb download Change-Id: Ibe33b212d8b5097c9ea33074f6e51fcf746bc0a7 --- .../LoadBalancers/LoadBalancerInstance/index.jsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/pages/network/containers/LoadBalancers/LoadBalancerInstance/index.jsx b/src/pages/network/containers/LoadBalancers/LoadBalancerInstance/index.jsx index 3e386d5d..5b29b64a 100644 --- a/src/pages/network/containers/LoadBalancers/LoadBalancerInstance/index.jsx +++ b/src/pages/network/containers/LoadBalancers/LoadBalancerInstance/index.jsx @@ -34,6 +34,20 @@ export default class LoadBalancerInstance extends Base { this.list.silent = false; }; + fetchDownloadData = async (params) => { + let result = []; + if (this.isFilterByBackend) { + result = await this.downloadStore.fetchListByPageWithFip( + this.updateFetchParamsByPage(params) + ); + } else { + result = await this.downloadStore.fetchList( + this.updateFetchParams(params) + ); + } + return result; + }; + get fetchDataByCurrentProject() { // add project_id to fetch data; return true;