优化
This commit is contained in:
parent
888a476141
commit
707f3b753c
@ -156,10 +156,10 @@ export default {
|
||||
this.$loadingStart()
|
||||
let res = await apiGetAssessList(parmas)
|
||||
this.$loadingEnd()
|
||||
res = res.data
|
||||
this.tableData = res.list
|
||||
this.params.totalCount = res.totalCount
|
||||
this.params.currPage = res.currPage
|
||||
if (res.code !== 200) return this.$message.error(res.msg)
|
||||
this.tableData = res.data.list
|
||||
this.params.totalCount = res.data.totalCount
|
||||
this.params.currPage = res.data.currPage
|
||||
} catch (error) {
|
||||
console.log('error: ', error)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user