|
@@ -17,7 +17,7 @@
|
|
|
<el-form-item label="标题">
|
|
|
<el-input v-model="contentForm.name" placeholder="请输入标题" />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="简介:" v-if="active === 9">
|
|
|
+ <el-form-item label="简介:" v-if="tabIndex === 1 && active === 8">
|
|
|
<el-input v-model="contentForm.description" type="textarea" rows="4" placeholder="请输入简介" />
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
@@ -452,10 +452,10 @@ export default {
|
|
|
// 标题模块
|
|
|
content() {
|
|
|
let rules = {
|
|
|
- '1': [3, 4, 8].includes(this.active),
|
|
|
- '2': [1].includes(this.active),
|
|
|
- '3': [2].includes(this.active),
|
|
|
- '4': [2].includes(this.active),
|
|
|
+ '1': [3, 4, 5, 6, 8].includes(this.active),
|
|
|
+ '2': [1, 3].includes(this.active),
|
|
|
+ '3': [2, 4, 6, 7, 8, 9].includes(this.active),
|
|
|
+ '4': [2, 4, 6, 8, 9, 10, 11].includes(this.active),
|
|
|
'5': [2, 4, 5, 6, 7].includes(this.active),
|
|
|
'6': [2, 3, 5, 7, 8, 9].includes(this.active)
|
|
|
}
|