mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改文件建构
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import GoReload from './index.vue';
|
||||
|
||||
export { GoReload };
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user