内容发布
This commit is contained in:
11
packages/3.0.0/AppContentInfo/AppContentInfo.vue
vendored
11
packages/3.0.0/AppContentInfo/AppContentInfo.vue
vendored
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="doc-circulation ailist-wrapper">
|
||||
<keep-alive :include="['List']">
|
||||
<component ref="component" :moduleId="moduleId" :is="component" @change="onChange" :params="params" :instance="instance" :dict="dict"></component>
|
||||
<component ref="component" :moduleName="moduleName" :moduleId="moduleId" :is="component" @change="onChange" :params="params" :instance="instance" :dict="dict"></component>
|
||||
</keep-alive>
|
||||
</div>
|
||||
</template>
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user