From 4cf91ecebad41d6c23f808ba744ea47a48db262c Mon Sep 17 00:00:00 2001 From: xuyiming Date: Tue, 16 Jun 2020 11:05:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E7=AE=A1=E7=90=86=E8=B0=83?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/app-list/app-card.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/app-list/app-card.vue b/src/components/app-list/app-card.vue index 309f988..76ddf18 100644 --- a/src/components/app-list/app-card.vue +++ b/src/components/app-list/app-card.vue @@ -59,7 +59,11 @@ export default { this.$emit("delete-action", this.data); }, intoDetail() { - this.$router.push(`${this.detailsUrl}${this.data.app_id}`); + this.$router.push( + `${this.detailsUrl}${ + this.cardType == 0 ? this.data.app_id : this.data.deploy_id + }` + ); }, }, }; -- 2.26.0