mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-05-01 04:26:34 +08:00
✅feat: Update dependencies "ant-design-vue": "2.0.0-rc.8"
This commit is contained in:
parent
ebb08289ad
commit
0b15931f20
@ -1,25 +1,3 @@
|
|||||||
/**
|
|
||||||
* @author chuzhixin 1204505056@qq.com
|
|
||||||
* @description router全局配置,如有必要可分文件抽离,其中asyncRoutes只有在intelligence模式下才会用到,pro版只支持remixIcon图标
|
|
||||||
* hidden:true 是否显示在菜单中显示路由(默认值:false)
|
|
||||||
* alwaysShow:true 当只有一级子路由时是否显示父路由是否显示在菜单中显示路由(默认值:false)
|
|
||||||
* name:"Demo" 首字母大写,一定要与vue文件的name对应起来,用于noKeepAlive缓存控制(该项特别重要)
|
|
||||||
* meta:{
|
|
||||||
title:"title" 菜单、面包屑、多标签页显示的名称
|
|
||||||
roles:["admin","..."] 当config/index.js中rolesControl配置开启时,用于控制角色
|
|
||||||
roles: {
|
|
||||||
role: ["admin"],
|
|
||||||
ability: ["READ","WRITE","DELETE"], ability: ["READ","WRITE"],
|
|
||||||
mode: "allOf" allOf: 数组内所有角色都拥有,返回True oneOf: 数组内拥有任一角色,返回True(等价第1种数据) except: 不拥有数组内任一角色,返回True(取反)
|
|
||||||
}
|
|
||||||
icon:"" remix图标
|
|
||||||
isCustomSvgIcon:false, 是否是自定义svg图标(默认值:false,如果设置true,那么需要把你的svg拷贝到icon/remixIcon下,然后remixIcon字段配置上你的图标名)
|
|
||||||
noKeepAlive:true 当前路由是否不缓存(默认值:false)
|
|
||||||
affix:true 当前路由是否固定多标签页
|
|
||||||
badge:"New" badge小标签(只支持子级)
|
|
||||||
tagHidden:true 当前路由是否不显示多标签页
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
const data = [
|
const data = [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user