|
@@ -143,6 +143,7 @@ const getTableData = async () => {
|
|
|
tableLoading.value = false
|
|
|
if (!error && code === 200) {
|
|
|
tableData.value = getArrValue(data['records'])
|
|
|
+ searchForm.value.total = data['total']
|
|
|
if (tableData.value.length > 0) {
|
|
|
getDetail(tableData.value[0].id)
|
|
|
rowViewId.value = tableData.value[0].id
|
|
@@ -152,6 +153,7 @@ const getTableData = async () => {
|
|
|
|
|
|
} else {
|
|
|
tableData.value = []
|
|
|
+ searchForm.value.total = 0
|
|
|
|
|
|
}
|
|
|
}
|