From 53df0f957c1b0a277b6599d5d8e9f912aa3ad154 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Fri, 24 Dec 2021 20:01:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=AE=B9=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/3.0.0/AppContentInfo/AppContentInfo.vue | 11 +++++++++-- packages/3.0.0/AppContentInfo/components/Add.vue | 5 +++-- packages/3.0.0/AppContentInfo/components/List.vue | 5 +++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/packages/3.0.0/AppContentInfo/AppContentInfo.vue b/packages/3.0.0/AppContentInfo/AppContentInfo.vue index d0775bc0..a5d16b3e 100644 --- a/packages/3.0.0/AppContentInfo/AppContentInfo.vue +++ b/packages/3.0.0/AppContentInfo/AppContentInfo.vue @@ -1,7 +1,7 @@ @@ -25,7 +25,8 @@ component: 'List', params: {}, moduleId: '', - include: [] + include: [], + moduleName: '' } }, @@ -37,6 +38,12 @@ created () { this.moduleId = this.$route.query.moduleId + + this.instance.post('/app/appcontentmoduleinfo/queryDetailById?id=' + this.$route.query.moduleId).then(res => { + if (res.code === 0) { + this.moduleName = res.data.moduleName + } + }) }, methods: { diff --git a/packages/3.0.0/AppContentInfo/components/Add.vue b/packages/3.0.0/AppContentInfo/components/Add.vue index 9505b162..79b508d4 100644 --- a/packages/3.0.0/AppContentInfo/components/Add.vue +++ b/packages/3.0.0/AppContentInfo/components/Add.vue @@ -1,7 +1,7 @@