a
This commit is contained in:
@@ -166,8 +166,8 @@ const state: BasicTableProps = reactive<BasicTableProps>({
|
||||
const response = await fetchList(params)
|
||||
return {
|
||||
data: {
|
||||
records: response.data.data.records,
|
||||
total: response.data.data.total
|
||||
records: response.data.records,
|
||||
total: response.data.total
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -196,7 +196,7 @@ const remoteTeacherByQuery = (query: string) => {
|
||||
if (query !== '') {
|
||||
setTimeout(() => {
|
||||
queryTeacherBaseByNoByAssets(query).then(response => {
|
||||
teacherList.value = response.data.data
|
||||
teacherList.value = response.data
|
||||
})
|
||||
}, 200)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user