diff --git a/packages/publicity/AppContentManage/components/List.vue b/packages/publicity/AppContentManage/components/List.vue index 7fd0f34c..1ee22976 100644 --- a/packages/publicity/AppContentManage/components/List.vue +++ b/packages/publicity/AppContentManage/components/List.vue @@ -140,7 +140,8 @@ export default { return true } })) { - const {cateList: categorys, moduleId} = this + let {cateList: categorys, moduleId} = this + categorys = categorys.map((e, i) => ({...e, showIndex: i * 1 + 1})) this.instance.post(`/app/appcontentmodulecategory/addOrUpdate2`, { categorys, moduleId }).then(res => {