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