From 6522a101ea9ef4ff5f53237e5344efece9bddcdd Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 14 Jul 2022 09:04:25 +0800 Subject: [PATCH] BUG 30542 --- packages/publicity/AppContentManage/components/List.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 => {