dxd hace 2 años
padre
commit
892834f252
Se han modificado 1 ficheros con 8 adiciones y 3 borrados
  1. 8 3
      src/views/menu5/cutPage/cutPage.vue

+ 8 - 3
src/views/menu5/cutPage/cutPage.vue

@@ -223,8 +223,11 @@
                   class="subNum"
                   v-model="item.subNum"
                 ></el-input>
-                <span class="meterialNum" v-if="item.imgType"
+                <!-- <span class="meterialNum" v-if="item.imgType"
                   >材料{{ index2 + 1 }}</span
+                > -->
+                 <span class="meterialNum" v-if="item.imgType"
+                  >材料</span
                 >
                 <img
                   class="cutIMG"
@@ -450,12 +453,13 @@ export default {
           });
         }
         this.list = this.formatResData(this.list);
+        debugger
         this.list.push({
-          order: this.paperInfo.questions.length + 1,
+          order: this.list.length + 1,
           name: "",
           ele: [],
         });
-        this.curBoxIndex == this.paperInfo.questions.length - 1;
+        this.curBoxIndex == this.list.length;
       }
       if (Object.keys(this.paperInfo.ans_points).length > 0) {
         this.answerList = [
@@ -493,6 +497,7 @@ export default {
           ele: el.ele,
         });
       });
+      debugger
       return listArr;
     },
     getDetailCutImage(point) {