1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<template> <div id="busyBar"> <progress class="progress is-small is-primary" max="100" v-if="isBusy" ></progress> </div> </template> <script> export default { name: "BusyBar", computed: { isBusy() { return this.$store.getters.busy; } } }; </script>