@@ -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) {