Explorar o código

多余数据暂时不删除,原因:报错后影响复现数据

DESKTOP-SVI9JE1\muzen hai 1 ano
pai
achega
a673e89637
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/views/operation/recommend/detail.vue

+ 3 - 3
src/views/operation/recommend/detail.vue

@@ -340,7 +340,7 @@ export default {
               obj.status = i.status
             }
             this.form.list.push(obj)
-            if(this.$route.query.copyId) {
+            if (this.$route.query.copyId) {
               this.form.threeId = ''
             }
           })
@@ -545,10 +545,10 @@ export default {
           this.$route.query.secondId ? this.form.secondId = this.$route.query.secondId : this.form.threeId = this.$route.query.threeId
           // 删除仅作展示的缓存数据
           for (const index in this.form.list) {
-            delete this.form.list[index].contentId
+            // delete this.form.list[index].contentId
             if ('description' in this.form.list[index]) {
               this.form.list[index].module.description = this.form.list[index].description
-              delete this.form.list[index].description
+              // delete this.form.list[index].description
             }
           }
           submitThree(this.form).then(res => {