mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
712 B
30 lines
712 B
3 years ago
|
<template>
|
||
|
<v-overlay :value="message" z-index="99999" opacity=".9">
|
||
|
<div class="d-flex flex-column align-center">
|
||
3 years ago
|
<v-progress-circular v-if="progress !== null" :rotate="360" :size="100" :width="15" :value="progress">
|
||
3 years ago
|
{{ progress }}%
|
||
|
</v-progress-circular>
|
||
|
|
||
|
<v-progress-circular v-else indeterminate size="100" width="15" class="mb-10" />
|
||
|
<span class="title">{{ message }}</span>
|
||
|
</div>
|
||
|
</v-overlay>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
name: 'Loader',
|
||
3 years ago
|
props: {},
|
||
3 years ago
|
computed: {
|
||
|
message() {
|
||
3 years ago
|
return this.$store.state.loader.message;
|
||
3 years ago
|
},
|
||
|
progress() {
|
||
3 years ago
|
return this.$store.state.loader.progress;
|
||
|
},
|
||
|
},
|
||
|
};
|
||
3 years ago
|
</script>
|
||
|
|
||
3 years ago
|
<style scoped></style>
|