feat: 错误页停止加载动画
This commit is contained in:
parent
aa4fd74c4c
commit
73eef5c92d
@ -12,11 +12,16 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { loadingPage } from "@/utils/loading-page";
|
||||
import { useRouter } from "vue-router";
|
||||
const router = useRouter();
|
||||
const onBack = () => {
|
||||
router.go(-1);
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
loadingPage.done(200);
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@ -12,11 +12,15 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { loadingPage } from "@/utils/loading-page";
|
||||
import { useRouter } from "vue-router";
|
||||
const router = useRouter();
|
||||
const onBack = () => {
|
||||
router.go(-1);
|
||||
};
|
||||
onMounted(() => {
|
||||
loadingPage.done(200);
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@ -12,6 +12,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { loadingPage } from "@/utils/loading-page";
|
||||
import { Message } from "@arco-design/web-vue";
|
||||
import { useRouter } from "vue-router";
|
||||
const router = useRouter();
|
||||
@ -23,6 +24,10 @@ const onBack = () => {
|
||||
router.go(-1);
|
||||
}
|
||||
};
|
||||
|
||||
onMounted(() => {
|
||||
loadingPage.done(200);
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user