Merge branch 'master' of http://git.lionquexpress.com/wuweihua/BMS
This commit is contained in:
@@ -365,6 +365,10 @@ async function getList() {
|
||||
total.value = res?.total || 0
|
||||
} catch (e) {
|
||||
console.error('BasicTable 加载失败', e)
|
||||
// 查询失败时清空旧结果,避免用户误以为旧列表是本次查询结果。
|
||||
tableData.value = []
|
||||
total.value = 0
|
||||
selectionList.value = []
|
||||
} finally {
|
||||
loading.value = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user