From a63e704b1e831309827c36dfd0b351d79c7eab5e Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 10 Jan 2023 10:40:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E9=97=AE=E7=AD=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fengdu/app/AppLearning/AppLearning.vue | 4 +- .../app/AppLearning/components/Detail.vue | 57 ++++++++----------- .../app/AppLearning/components/List.vue | 27 +++++---- 3 files changed, 38 insertions(+), 50 deletions(-) diff --git a/project/fengdu/app/AppLearning/AppLearning.vue b/project/fengdu/app/AppLearning/AppLearning.vue index c23590f2..aed9924d 100644 --- a/project/fengdu/app/AppLearning/AppLearning.vue +++ b/project/fengdu/app/AppLearning/AppLearning.vue @@ -28,7 +28,7 @@ export default { }, data() { return { - component: "Detail", + component: "List", params: {}, include: [] }; @@ -40,7 +40,7 @@ export default { this.params = data.params; } - if (data.type === "list") { + if (data.type === "List") { this.component = "List"; this.params = data.params; diff --git a/project/fengdu/app/AppLearning/components/Detail.vue b/project/fengdu/app/AppLearning/components/Detail.vue index 06fe3812..7a5a4b63 100644 --- a/project/fengdu/app/AppLearning/components/Detail.vue +++ b/project/fengdu/app/AppLearning/components/Detail.vue @@ -6,29 +6,19 @@