
Security News
GitHub Actions Adds cache-mode to Limit Cache Poisoning Risk
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.
@mypandora/pro-layout
Advanced tools
Vue 2.6.14+
Vue-Router 3.5.4+
Element-UI 2.15.8+
svg-sprite-loader 6.0.11+
npm install @mypandora/pro-layout
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| device | 显示模式:手机、电脑 | String | desktop | desktop |
| logoTitle | layout 的左上角 的 title | String | - | '' |
| headerHeight | 顶部导航高度 | Number | - | 60 |
| sideWidth | 左侧菜单栏宽度 | Number | - | 200 |
| sideCollpaseWidth | 左侧菜单栏收缩宽度 | Number | - | 48 |
| menuRoutes | 路由数组 | Array | - | [] |
| predefine | 预设颜色 | Array | - | ['#2e59a7', '#80d1c8', '#0095b6', '#ff770f', '#1a7bb0'] |
| settings | 布局配置 | Object | - | - |
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| path | 路由路径 | String | ||
| name | 路由的名字 | String | ||
| component | 路由组件 | Vue | ||
| hiddren | 路由是否隐藏 | Boolean | false, true | false |
| alwaysShow | 路由是否总是显示 | Boolean | false, true | true |
| redirect | 在面包屑导航中是否可点击 | String | noRedirect | |
| query | 默认传递参数 | String | ||
| roles | 访问路由的角色权限 | Array | ||
| permissions | 访问路由的菜单权限 | Array | ||
| meta | 路由元数据信息 | Object |
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---|---|---|---|---|
| showSettings | 是否显示配置 | Boolean | true, false | false |
| sideTheme | 侧边栏风格 | String | theme-dark, theme-light | theme-light |
| theme | 主题色 | String | - | #2E59A7 |
| navMode | 导航模式 | String | aside, top, mix | mix |
| fixedHeader | 是否固定顶部导航 | Boolean | true, false | true |
| fixedSide | 是否固定侧边菜单 | Boolean | true, false | true |
| autoMenu | 是否自动分割菜单 | Boolean | true, false | true |
| showHeader | 是否显示顶栏 | Boolean | true, false | true |
| showSide | 是否显示菜单 | Boolean | true, false | true |
| showLogo | 是否显示 Logo | Boolean | true, false | true |
| 名称 | 说明 |
|---|---|
| logo | layout 的左上角 logo |
| logoRender | layout 的左上角 |
| rightMenu | 导航栏最右侧菜单区域 |
| default | 默认插槽 |
FAQs
一个基于 vue 的布局组件。
The npm package @mypandora/pro-layout receives a total of 2 weekly downloads. As such, @mypandora/pro-layout popularity was classified as not popular.
We found that @mypandora/pro-layout demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.