内容发布

This commit is contained in:
yanran200730
2021-12-24 20:01:48 +08:00
parent d6c3c2b130
commit 53df0f957c
3 changed files with 15 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
<template>
<ai-detail class="content-add">
<template slot="title">
<ai-title :title="params.id ? '编辑内容发布' : '添加内容发布'" isShowBack isShowBottomBorder @onBackClick="cancel(false)">
<ai-title :title="params.id ? '编辑' + moduleName : '添加' + moduleName" isShowBack isShowBottomBorder @onBackClick="cancel(false)">
</ai-title>
</template>
<template slot="content">
@@ -99,7 +99,8 @@
props: {
instance: Function,
dict: Object,
params: Object
params: Object,
moduleName: String
},
data () {
return {

View File

@@ -1,7 +1,7 @@
<template>
<ai-list class="notice">
<template slot="title">
<ai-title title="内容发布" isShowBottomBorder isShowArea v-model="search.areaId" :instance="instance" @change="search.current = 1, getList()"></ai-title>
<ai-title :title="moduleName" isShowBottomBorder isShowArea v-model="search.areaId" :instance="instance" @change="search.current = 1, getList()"></ai-title>
</template>
<template slot="content">
<ai-search-bar class="search-bar">
@@ -56,7 +56,8 @@
props: {
instance: Function,
dict: Object
dict: Object,
moduleName: String
},
data() {