scorpio пре 2 година
родитељ
комит
dba8bbf5e3
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      src/views/task/index.vue

+ 3 - 2
src/views/task/index.vue

@@ -85,8 +85,9 @@ export default {
   methods: {
     getTaskList() {
       this.$api.task.taskList({ level: 1 }).then(res => {
-        console.log('hhhh')
-        console.log(res)
+        if (res.code === 200) {
+          this.data = res.data.records
+        }
       })
     },
     rowClick(item) {