lrf402788946 4 rokov pred
rodič
commit
ecccb89b17

+ 2 - 2
src/views/twoweb/service/question/detail.vue

@@ -94,10 +94,10 @@ export default {
       }
     },
     async init() {
-      console.log('in function:');
       const { questions } = this.data;
       if (!(_.isArray(questions) && questions.length > 0)) return;
-      for (let i = 0; i < questions.length; i++) {
+      console.log('in function:');
+      for (let i = 1; i <= questions.length - 1; i++) {
         const e = questions[i];
         const { type } = e;
         if (type === '1') {