mirror of https://github.com/rancher/dashboard.git
26 lines
347 B
Vue
26 lines
347 B
Vue
<script>
|
|
import Loading from '@shell/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="relative"
|
|
/>
|
|
</template>
|