This commit is contained in:
luyuan 2020-09-27 08:58:04 +08:00
parent 5bf4b36049
commit de899aebc8
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -38,6 +38,7 @@
display: flex;
background-color: #fff;
min-width: 1366px;
user-select: none;
.logo{
width: 171px;
height: 57px;
@ -112,10 +113,14 @@
</style>
<script lang="ts">
import { defineComponent } from 'vue';
import { useRoute } from 'vue-router';
export default defineComponent({
setup(){
console.log(1)
// console.log(useRoute().currentRoute.value.name)
const routes = useRoute();
console.log(routes.path);
interface Nav{
name: string;
route: string;