lrf402788946 4 lat temu
rodzic
commit
5bb65abe08
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      src/views/task/stutask.vue

+ 4 - 4
src/views/task/stutask.vue

@@ -35,7 +35,7 @@
             </van-col>
           </template>
           <template v-else-if="tasktype === 'pic'">
-            <van-image :src="picrul"></van-image>
+            <van-image :src="picurl"></van-image>
           </template>
           <van-field v-model="score" type="number" label="作业成绩:" placeholder="请输入学生成绩" />
           <van-button round type="info" @click="onSubmit">提交成绩</van-button>
@@ -62,7 +62,7 @@ export default {
     display: 'list',
     task: {},
     tasktype: '',
-    picrul: '',
+    picurl: '',
     score: '',
     uploadtask: {},
   }),
@@ -95,9 +95,9 @@ export default {
         }
         this.$set(this, `task`, task.data);
         console.log(task.data);
-      } else if (item.picrul) {
+      } else if (item.picurl) {
         this.tasktype = 'pic';
-        this.picrul = item.picrul;
+        this.picurl = item.picurl;
       }
       if (item.score) {
         this.score = item.score;