文章分类,积分设置删除后无法新增问题处理

master
Chopper 2021-09-26 16:07:50 +08:00
parent 642536f83e
commit 04599148fc
2 changed files with 5 additions and 7 deletions

View File

@ -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,

View File

@ -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 ,
});
},
//