feat: add Admin layout
This commit is contained in:
@@ -10,9 +10,7 @@ export function useLoading() {
|
||||
}
|
||||
|
||||
function stop() {
|
||||
if (pendingCount.value > 0) {
|
||||
pendingCount.value--
|
||||
}
|
||||
pendingCount.value = Math.max(0, pendingCount.value - 1)
|
||||
if (pendingCount.value === 0) {
|
||||
loading.value = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user