mirror of https://github.com/rancher/dashboard.git
23 lines
331 B
Vue
23 lines
331 B
Vue
<script>
|
|
import Loading from '@/components/Loading';
|
|
|
|
export default {
|
|
components: { Loading },
|
|
|
|
data: () => ({ loading: false }),
|
|
|
|
methods: {
|
|
start() {
|
|
this.loading = true;
|
|
},
|
|
finish() {
|
|
this.loading = false;
|
|
}
|
|
}
|
|
};
|
|
|
|
</script>
|
|
<template>
|
|
<Loading v-if="loading" mode="full" />
|
|
</template>
|