fix : 细节优化
This commit is contained in:
@@ -118,11 +118,12 @@ const getList = async () => {
|
||||
if (res.code === 1000) {
|
||||
list.value = res.data.rows
|
||||
total.value = res.data.total
|
||||
loading.value = false
|
||||
} else {
|
||||
ElMessage.error(res.msg)
|
||||
}
|
||||
|
||||
loading.value = false
|
||||
}).catch(err => {
|
||||
loading.value = false;
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user