This commit is contained in:
theluyuan 2023-07-05 20:38:48 +08:00
parent 73a97a125c
commit 543fd777de

View File

@ -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 => {