Skip to content

Commit 32dcfc8

Browse files
committed
refactor: update loading bar configuration in default layout
- Changed loading bar color to white, size to 3px, and position to top for improved visibility. - Removed the interval-based loading bar start/stop logic to streamline the loading experience.
1 parent a0ba602 commit 32dcfc8

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

apps/web/src/layouts/default.vue

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,11 @@ export default defineNuxtComponent({
4848
const $q = useQuasar()
4949
5050
$q.loadingBar.setDefaults({
51-
color: 'purple',
52-
size: '15px',
53-
position: 'bottom'
51+
color: 'white',
52+
size: '3px',
53+
position: 'top'
5454
})
5555
56-
setInterval(() => {
57-
$q.loadingBar.start()
58-
setTimeout(() => {
59-
$q.loadingBar.stop()
60-
}, 1000)
61-
}, 1000)
62-
6356
const identityStateStore = useIdentityStateStore()
6457
const { menuParts, getMenuByPart, initialize } = useMenu(identityStateStore)
6558

0 commit comments

Comments
 (0)