摘要:
正常情况刷新后选中菜单会失去选中的状态,需要把default-active 当前激活菜单的 index保存下来这样刷新后读取 methods方法中增加 getSess() { this.active = window.sessionStorage.getItem("active"); }, setS 阅读全文
摘要:
<template> <el-container> <el-header> <Header></Header> <span class="Slogan">中间广告语</span> <span class="welcome">登录用户</span> </el-header> <el-container 阅读全文
摘要:
为了演示方便,不从数据库获取了 { "data":[ { "id":125, "authName":"用户管理", "path":"users", "children":[ { "id":110, "authName":"用户列表", "path":"users", "children":[ ], 阅读全文