fix menu
This commit is contained in:
parent
73a97a125c
commit
543fd777de
@ -16,7 +16,7 @@ import {router} from "../router/index.js";
|
||||
<template>
|
||||
|
||||
<el-scrollbar>
|
||||
<el-menu :router="true">
|
||||
<el-menu v-model="sel" :router="true">
|
||||
<el-sub-menu index="1">
|
||||
<template #title>
|
||||
<el-icon>
|
||||
@ -87,6 +87,9 @@ import {router} from "../router/index.js";
|
||||
<script>
|
||||
|
||||
import axios from "axios";
|
||||
import { ref } from "vue";
|
||||
|
||||
const sel = ref('')
|
||||
|
||||
function test() {
|
||||
axios.get('http://127.0.0.1:3050/test').then(r => {
|
||||
|
Loading…
Reference in New Issue
Block a user