diff --git a/README.md b/README.md index 2792fba2..deef2cdc 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ Fes.js 是一个优秀的前端应用解决方案。Fes.js 以 Vue 3.0 和路由 | [@fesjs/plugin-qiankun](https://winixt.gitee.io/fesjs/zh/reference/plugin/plugins/qiankun.html#%E4%BB%8B%E7%BB%8D) | 基于 `qiankun`,提供微服务能力 | | [@fesjs/plugin-sass](https://winixt.gitee.io/fesjs/zh/reference/plugin/plugins/sass.html#%E4%BB%8B%E7%BB%8D) | 样式支持sass | | [@fesjs/plugin-monaco-editor](https://winixt.gitee.io/fesjs/zh/reference/plugin/plugins/editor.html#%E4%BB%8B%E7%BB%8D) | 提供代码编辑器能力, 基于`monaco-editor`(VS Code使用的代码编辑器) | +| [@fesjs/plugin-windicss](https://winixt.gitee.io/fesjs/zh/reference/plugin/plugins/windicss.html) | 基于 `windicss`,提供原子化 CSS 能力 | + ## 像数 1, 2, 3 一样容易 使用 `yarn`: diff --git a/packages/create-fes-app/templates/app/pc/.fes.js b/packages/create-fes-app/templates/app/pc/.fes.js index 658f9fe3..4f402c18 100644 --- a/packages/create-fes-app/templates/app/pc/.fes.js +++ b/packages/create-fes-app/templates/app/pc/.fes.js @@ -5,12 +5,13 @@ export default { publicPath: './', access: { roles: { - admin: ["/", "/onepiece"] + admin: ["*"], + manager: ["/"] } }, layout: { title: "Fes.js", - footer: 'Created by MumbelFe', + footer: 'Created by MumbleFe', multiTabs: false, menus: [{ name: 'index' diff --git a/packages/fes-plugin-layout/src/runtime/helpers/pluginLocale.js b/packages/fes-plugin-layout/src/runtime/helpers/pluginLocale.js index 279ea2d4..5dd18b4e 100644 --- a/packages/fes-plugin-layout/src/runtime/helpers/pluginLocale.js +++ b/packages/fes-plugin-layout/src/runtime/helpers/pluginLocale.js @@ -2,7 +2,7 @@ import { unref, computed } from 'vue'; import { plugin } from '@@/core/coreExports'; -const transTitle = (name) => { +export const transTitle = (name) => { const sharedLocale = plugin.getShared('locale'); if (sharedLocale) { const { t } = sharedLocale.useI18n(); diff --git a/packages/fes-plugin-layout/src/runtime/views/MultiTabProvider.vue b/packages/fes-plugin-layout/src/runtime/views/MultiTabProvider.vue index 4ddcbf04..668f9909 100644 --- a/packages/fes-plugin-layout/src/runtime/views/MultiTabProvider.vue +++ b/packages/fes-plugin-layout/src/runtime/views/MultiTabProvider.vue @@ -7,9 +7,13 @@ @tabClick="switchPage" @edit="onEdit" > - +