Vue端:
<template>
<div>
<el-container>
<el-header>用户</el-header>
<el-container>
<el-aside width="200px">
<el-menu
default-active="2"
class="el-menu-vertical-demo"
background-color="#545c64"
text-color="#fff"
active-text-color="#ffd04b">
<el-submenu index="1">
<template slot="title">
<i class="el-icon-location"></i>
<span>用户管理</span>
</template>
<el-menu-item index="1-1">查询用户</el-menu-item>
<el-menu-item index="1-2">添加用户</el-menu-item>
</el-submenu>
</el-menu>
</el-aside>
<el-main>
<el-button type="primary" @click="editDialogVisible=true">新增</el-button>
<el-table
:data&#