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