fix: 修改文件建构

This commit is contained in:
奔跑的面条
2022-04-14 10:05:57 +08:00
parent 9e9410533c
commit 3c85322450
76 changed files with 76 additions and 117 deletions
+3
View File
@@ -0,0 +1,3 @@
import GoReload from './index.vue';
export { GoReload };
+20
View File
@@ -0,0 +1,20 @@
<template>
<div class="go-reload"></div>
</template>
<script lang="ts" setup>
import { onMounted } from 'vue'
import router from '@/router'
// 重新加载前路径页面
onMounted(() => {
router.go(-1)
})
</script>
<style lang="scss" scoped>
@include go('reload') {
height: 100vh;
width: 100vw;
@include filter-bg-color('background-color')
}
</style>