摘要: server/api/request /**axios封装 * 请求拦截、相应拦截、错误统一处理 */ import axios from 'axios' import QS from 'qs' // import store from "../../store/index"; import rou 阅读全文
posted @ 2021-11-24 11:35 影思密达ing 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 按钮级权限有两种方式,一种为v-if,一种为vue自定义指令,这里两种都有使用 [ "sys:user:add", "sys:user:update", "sys:user:use", "sys:system:add", "sys:system:update", "sys:system:use", 阅读全文
posted @ 2021-11-24 11:30 影思密达ing 阅读(1414) 评论(0) 推荐(0) 编辑
摘要: 首先,把整个系统的路由表分为静态路由和动态路由, 静态路由为不需要权限就加载的路由组, 动态路由为权限关联路由 import addRoutes from './routers/add' import staticRoutes from './routers/static' export const 阅读全文
posted @ 2021-11-24 11:21 影思密达ing 阅读(764) 评论(0) 推荐(0) 编辑
摘要: 功能分析:和后台的菜单,纯树级结构不一样 后台的api返回结构为 <el-tree ref="menuTree" :data="systemPrivilegeList" show-checkbox node-key="id" default-expand-all :check-strictly="t 阅读全文
posted @ 2021-11-24 11:01 影思密达ing 阅读(145) 评论(0) 推荐(0) 编辑