loading未关闭

This commit is contained in:
yyy 2025-07-17 09:26:07 +08:00
parent 922eb8bdbe
commit 09d2a03b9e

View File

@ -184,7 +184,6 @@ const queryParams = reactive({
const activeName = ref('-1')
const handleClick = (tab, event) => {
loading.value = true // loading
queryParams.deviceType = tab.props.name != -1 ? tab.props.name : undefined
getCarList()
}
@ -278,6 +277,9 @@ const clockDevice = (item) => {
})
})
.catch(() => {})
.finally(() => {
loading.value = false // loading
})
}
//
const openForm = (type, id) => {
@ -298,6 +300,9 @@ const deleteCar = (id) => {
})
})
.catch(() => {})
.finally(() => {
loading.value = false // loading
})
}
//