文章分类,积分设置删除后无法新增问题处理
parent
642536f83e
commit
04599148fc
|
@ -33,7 +33,7 @@
|
||||||
>删除
|
>删除
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
v-show="scope.row.level != 2"
|
v-show="scope.row.level != 1"
|
||||||
type="success"
|
type="success"
|
||||||
@click="addChildren(scope.row)"
|
@click="addChildren(scope.row)"
|
||||||
size="small"
|
size="small"
|
||||||
|
@ -114,14 +114,15 @@ export default {
|
||||||
formAdd: {
|
formAdd: {
|
||||||
// 添加或编辑表单对象初始化数据
|
// 添加或编辑表单对象初始化数据
|
||||||
parentId: "",
|
parentId: "",
|
||||||
name: "",
|
|
||||||
sort: 1,
|
sort: 1,
|
||||||
level: 0,
|
level: 0,
|
||||||
|
articleCategoryName:""
|
||||||
},
|
},
|
||||||
// 表单验证规则
|
// 表单验证规则
|
||||||
formValidate: {
|
formValidate: {
|
||||||
articleCategoryName:[
|
articleCategoryName:[
|
||||||
regular.REQUIRED,
|
regular.REQUIRED,
|
||||||
|
regular.VARCHAR20,
|
||||||
],
|
],
|
||||||
sort:[
|
sort:[
|
||||||
regular.REQUIRED,
|
regular.REQUIRED,
|
||||||
|
|
|
@ -101,10 +101,7 @@ export default {
|
||||||
}
|
}
|
||||||
this.formValidate.pointSettingItems.push({
|
this.formValidate.pointSettingItems.push({
|
||||||
point: "0",
|
point: "0",
|
||||||
day:
|
day: this.formValidate.pointSettingItems.length ,
|
||||||
this.formValidate.pointSettingItems[
|
|
||||||
this.formValidate.pointSettingItems.length - 1
|
|
||||||
].day + 1,
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 实例化数据
|
// 实例化数据
|
||||||
|
|
Loading…
Reference in New Issue