diff --git a/src/components/Feedback/Loading/loading.story.vue b/src/components/Feedback/Loading/loading.story.vue index 4fe73a9..644de38 100644 --- a/src/components/Feedback/Loading/loading.story.vue +++ b/src/components/Feedback/Loading/loading.story.vue @@ -89,20 +89,20 @@ const fullscreenLoadingSource = computed(() => { import { ref } from 'vue' import { ElLoading } from 'element-plus' - const fullscreenLoading = ref(false) - const openFullScreen1 = () => { - fullscreenLoading.value = true - setTimeout(() => { - fullscreenLoading.value = false - }, 2000) - } +const fullscreenLoading = ref(false) +const openFullScreen1 = () => { + fullscreenLoading.value = true + setTimeout(() => { + fullscreenLoading.value = false + }, 2000) +} - const openFullScreen2 = () => { - const loading = ElLoading.service() - setTimeout(() => { - loading.close() - }, 2000) - } +const openFullScreen2 = () => { + const loading = ElLoading.service() + setTimeout(() => { + loading.close() + }, 2000) +} <\/script>