Skip to content

Commit b43992a

Browse files
committed
授权登录
1 parent 9fb69bc commit b43992a

File tree

4 files changed

+37
-0
lines changed

4 files changed

+37
-0
lines changed

docs/.vuepress/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = {
2525
{ text: '补充阅读', link: '/column/' },
2626
// { text: '习题', link: '/exercise/' },
2727
{ text: '答疑汇总', link: '/qa/' },
28+
{ text: '学习笔记', link: '/reader/' },
2829
// { text: '精彩活动', link: '/activities/' },
2930
{ text: '点赞支持', link: 'https://github.com/sam9831/mpvue-imooc-ebook-docs' }
3031
],

docs/guide/dev/auth.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,24 @@
4848

4949
### 用户注册
5050
获得`openId`后,我们可以通过该`openId`和用户信息在小慕读书中进行注册,课程提供了注册的`api`[立即查看](https://www.youbaobao.xyz/mpvue-docs/api/#%E7%94%A8%E6%88%B7%E6%B3%A8%E5%86%8C)
51+
52+
## 授权组件
53+
用户授权登录组件
54+
55+
![component_auth](../images/component_auth.png)
56+
<table>
57+
<tr>
58+
<th>组件名称</th>
59+
<th>属性</th>
60+
<th>参数</th>
61+
<th>用途</th>
62+
<th>默认值</th>
63+
</tr>
64+
<tr>
65+
<td rowspan="11">Auth</td>
66+
<td>method</td>
67+
<td>getUserInfo</td>
68+
<td>获取用户信息</td>
69+
<td>(空)</td>
70+
</tr>
71+
</table>
57.4 KB
Loading

docs/reader/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
sidebar: auto
3+
---
4+
5+
# 学习笔记
6+
7+
## 《Vue实战微信读书》学习笔记
8+
::: tip
9+
今天非常意外地在问答区收获一位同学的学习笔记,写得非常全面、细致和深入,非常佩服这位同学的总结能力和学习态度,所以特别开设读书笔记专栏,收集同学们的优秀读书笔记
10+
:::
11+
12+
- 第一篇:[https://blog.csdn.net/weixin_41688305/article/details/97293918](https://blog.csdn.net/weixin_41688305/article/details/97293918)
13+
- 第二篇:[https://blog.csdn.net/weixin_41688305/article/details/97512350](https://blog.csdn.net/weixin_41688305/article/details/97512350)
14+
- 第三篇:[https://blog.csdn.net/weixin_41688305/article/details/97623051](https://blog.csdn.net/weixin_41688305/article/details/97623051)
15+
- 第四篇:[https://blog.csdn.net/weixin_41688305/article/details/97692051](https://blog.csdn.net/weixin_41688305/article/details/97692051)

0 commit comments

Comments
 (0)