Skip to content

Commit 9d00ebb

Browse files
committed
add docs
1 parent 03de3b7 commit 9d00ebb

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ yarn run lint
129129
- [ANTD 默认配置项](https://github.com/sendya/ant-design-pro-vue/blob/master/src/defaultSettings.js)
130130
- [按需加载/减少打包大小](https://github.com/sendya/ant-design-pro-vue/blob/master/docs/load-on-demand.md)
131131
- [为首屏增加 Loading 动画](https://github.com/sendya/ant-design-pro-vue/blob/master/docs/add-page-loading-animate.md)
132-
- [多标签页组件 feature/multi-tabs](https://github.com/sendya/ant-design-pro-vue/tree/feature/multi-tabs)
132+
- [多标签页组件 feature/multi-tabs](https://github.com/sendya/ant-design-pro-vue/tree/feature/multi-tabs) [如何移除](https://github.com/sendya/ant-design-pro-vue/blob/master/docs/multi-tabs.md)
133133
- [按需加载用例 feature/demand_load](https://github.com/sendya/ant-design-pro-vue/tree/feature/demand_load)
134134
- [多语言使用案例 feature/lang](https://github.com/sendya/ant-design-pro-vue/tree/feature/lang) [@musnow](https://github.com/musnow) 提供
135135
- [为项目增加依赖项分析工具 analyzer](https://github.com/sendya/ant-design-pro-vue/blob/master/docs/webpack-bundle-analyzer.md)

docs/multi-tabs.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
多(页签)标签 模式
2+
====
3+
4+
5+
## 让框架支持打开的页面增加多标签,可随时切换
6+
7+
### 关于如何移除该功能 组件
8+
1. 移除 `/src/components/layouts/BasicLayout.vue` L3, L12, L19
9+
```vue
10+
<multi-tab v-if="$store.getters.multiTab"></multi-tab>
11+
```
12+
2. 移除 `/src/config/defaultSettings.js` L25
13+
14+
3. 移除 `src/store/modules/app.js` L27, L76-L79, L118-L120
15+
16+
4. 移除 `src/utils/mixin.js` L21
17+
18+
5. 删除组件目录 `src/components/MultiTab`
19+
20+
> 以上 `L x` 均代表行N ,如 L3 = 行3

0 commit comments

Comments
 (0)