文档更新

master
toesbieya 6 years ago
parent 1a5ca9337e
commit 4e8ec3a26d
  1. 7
      docs/frontend/layout.md

@ -85,13 +85,6 @@ PC端的行为是切换侧边栏的折叠状态,移动端是切换侧边栏在
在设置面板中修改数据后,会将配置写入localStorage。 在设置面板中修改数据后,会将配置写入localStorage。
在面板mounted时,会将localStorage中的配置数据同步到`Layout`的store中 在面板mounted时,会将localStorage中的配置数据同步到`Layout`的store中
::: tip 注意
设置面板中的主题色修改功能默认只在dev环境下生效,为啥呢,因为还在研究原理。
想放开限制需要:
1. 修改`@/layout/component/header/navbar/component/SettingDrawer`中的`changeThemeColor`方法
2. 修改`vue.config.js`中的`configureWebpack.plugins`配置项
:::
## 头部多页签 ## 头部多页签
文件目录:`@/layout/component/Header/component/Tagsview/index.vue`。 文件目录:`@/layout/component/Header/component/Tagsview/index.vue`。

Loading…
Cancel
Save