diff --git a/src/views/system/InformationCategory/index.vue b/src/views/system/InformationCategory/index.vue index 899de4b..b6eefb2 100644 --- a/src/views/system/InformationCategory/index.vue +++ b/src/views/system/InformationCategory/index.vue @@ -515,7 +515,10 @@ export default { this.getList(); }); } else { - this.form.informationCategoryList[0].sort=parseInt( this.form.informationCategoryList[0].sort) + if(this.form.informationCategoryList[0].sort){ + this.form.informationCategoryList[0].sort=parseInt( this.form.informationCategoryList[0].sort) + } + addInformationCategory(this.form).then((response) => { this.$modal.msgSuccess("新增成功"); this.addopen = false; diff --git a/src/views/system/poser/index.vue b/src/views/system/poser/index.vue index 205c888..05d8dd1 100644 --- a/src/views/system/poser/index.vue +++ b/src/views/system/poser/index.vue @@ -278,12 +278,11 @@