From 52f2413ac960db4d26bab643dd4678d0a5ebefce Mon Sep 17 00:00:00 2001 From: TheYoungManLi Date: Thu, 6 Jan 2022 15:03:48 +0800 Subject: [PATCH] fix: Can't enter pv detail page in member cluster Signed-off-by: TheYoungManLi --- src/stores/pv.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stores/pv.js b/src/stores/pv.js index 2872cd1d33d..0508aa8b50b 100644 --- a/src/stores/pv.js +++ b/src/stores/pv.js @@ -25,7 +25,8 @@ export default class PvcStore extends Base { getDetailUrl = (params = {}) => `${this.getResourceUrl(params)}/${params.name}` - getKs8Url = (params = {}) => `api/v1/${this.module}/${params.name}` + getKs8Url = (params = {}) => + `api/v1${this.getPath(params)}/${this.module}/${params.name}` @action async fetchDetail(params) {