refactor: refactor axios

This commit is contained in:
kailong321200875
2022-08-13 09:32:13 +08:00
parent c589edd960
commit 0980640f65
10 changed files with 148 additions and 189 deletions

View File

@@ -59,12 +59,12 @@ const getTableList = async (params?: Params) => {
pageSize: 10
}
})
.catch(() => {})
.finally(() => {
loading.value = false
})
// .catch(() => {})
// .finally(() => {
// loading.value = false
// })
if (res) {
tableDataList.value = res.data.list
tableDataList.value = res.list
}
}