Skip to content

Commit

Permalink
perf:update code style
Browse files Browse the repository at this point in the history
  • Loading branch information
DDDDanny committed Jan 22, 2021
1 parent dc61c2e commit e3fb836
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/api/modules/task.api.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default ({ request }) => ({
// 获取任务信息列表
listTask (params = {}) { return request({ url: '/task/list', method: 'get', params }) },
// 获取任务信息列表
listTask (params = {}) { return request({ url: '/task/list', method: 'get', params }) }
})
2 changes: 1 addition & 1 deletion src/views/apiTest/apiTestTask/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default {
]
}
},
created() {
created () {
this.getTaskList()
},
mounted () {
Expand Down

0 comments on commit e3fb836

Please sign in to comment.