diff --git a/project/fengdu/AppOutSource/AppArchives/components/Add.vue b/project/fengdu/AppOutSource/AppArchives/components/Add.vue index 87686370..a4345fcf 100644 --- a/project/fengdu/AppOutSource/AppArchives/components/Add.vue +++ b/project/fengdu/AppOutSource/AppArchives/components/Add.vue @@ -247,7 +247,6 @@ export default { getCheckedTree() { const nodes = this.$refs.treeRef.getCheckedNodes() - console.log(nodes) if (!nodes.length) { return this.$message.error('请选择网格') } @@ -282,14 +281,14 @@ export default { async addOrUpdate() { try { - const {code, data} = await this.instance.post(`/app/appshoparchives/addOrUpdate`,{ + const {code} = await this.instance.post(`/app/appshoparchives/addOrUpdate`,{ ...this.form, fileId:this.form.fileUrl[0]?.id, fileUrl:this.form.fileUrl[0]?.path, }) if (code === 0) { this.$message.success('保存成功'); - this.form = {...data} + this.cancel() } } catch (e) { console.error(e) diff --git a/project/fengdu/AppOutSource/AppArchives/components/List.vue b/project/fengdu/AppOutSource/AppArchives/components/List.vue index 56986aa8..e30c4ff6 100644 --- a/project/fengdu/AppOutSource/AppArchives/components/List.vue +++ b/project/fengdu/AppOutSource/AppArchives/components/List.vue @@ -2,8 +2,7 @@