2c62a85d
岑健浩
前端代码分支
|
1
2
|
<script setup>
import { RouterLink, RouterView } from 'vue-router'
|
0ec38cbe
徐振旌
1、新增前端登陆、新增条件查询
|
3
|
import {onMounted} from "vue";
|
2c62a85d
岑健浩
前端代码分支
|
4
|
|
0ec38cbe
徐振旌
1、新增前端登陆、新增条件查询
|
5
6
7
8
9
10
11
|
onMounted(() => {
window.addEventListener('beforeunload', () => {
sessionStorage.removeItem('isAuthenticated')
})
})
|
2c62a85d
岑健浩
前端代码分支
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
</script>
<template>
<!-- <HomeView></HomeView> -->
<!-- <header>
<img alt="Vue logo" class="logo" src="@/assets/logo.svg" width="125" height="125" />
<div class="wrapper">
<HelloWorld msg="You did it!" />
<nav>
<RouterLink to="/">Home</RouterLink>
<RouterLink to="/about">About</RouterLink>
</nav>
</div>
</header> -->
|
2c62a85d
岑健浩
前端代码分支
|
30
31
32
33
34
35
36
|
<RouterView />
</template>
<style scoped>
</style>
|
0ec38cbe
徐振旌
1、新增前端登陆、新增条件查询
|
|
|