Skip to content

Commit 10b3b4e

Browse files
authored
修改README,修复一个问题 (#11)
1 parent f034d85 commit 10b3b4e

File tree

2 files changed

+50
-27
lines changed

2 files changed

+50
-27
lines changed

README.md

+47-24
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,43 @@
1-
<p align="center">
2-
<a href="" rel="noopener">
3-
<img src="https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220614_131521.jpg" alt="Project logo"></a>
4-
</p>
51
<h1 align="center">Go Ldap Admin</h1>
62

7-
83
<div align="center">
94

10-
5+
[![Auth](https://img.shields.io/badge/Auth-eryajf-ff69b4)](https://github.com/eryajf)
116
[![Go Version](https://img.shields.io/github/go-mod/go-version/eryajf-world/go-ldap-admin)](https://github.com/eryajf/go-ldap-admin)
127
[![Gin Version](https://img.shields.io/badge/Gin-1.6.3-brightgreen)](https://github.com/eryajf/go-ldap-admin)
138
[![Gorm Version](https://img.shields.io/badge/Gorm-1.20.12-brightgreen)](https://github.com/eryajf/go-ldap-admin)
149
[![Status](https://img.shields.io/badge/status-active-success.svg)](https://github.com/eryajf/go-ldap-admin)
1510
[![GitHub Issues](https://img.shields.io/github/issues/eryajf/go-ldap-admin.svg)](https://github.com/eryajf/go-ldap-admin/issues)
1611
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/eryajf/go-ldap-admin)](https://github.com/eryajf/go-ldap-admin/pulls)
1712
[![GitHub Pull Requests](https://img.shields.io/github/stars/eryajf/go-ldap-admin)](https://github.com/eryajf/go-ldap-admin/stargazers)
18-
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)
13+
[![GitHub license](https://img.shields.io/github/license/eryajf/go-ldap-admin)](https://github.com/eryajf/go-ldap-admin/blob/main/LICENSE)
1914

2015
</div>
2116

22-
2317
---
2418

2519
<p align="center"> 🌉 基于Go+Vue实现的openLDAP后台管理项目。
2620
<br>
2721
</p>
2822

23+
<p align="center">
24+
<a href="" rel="noopener">
25+
<img src="https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220614_131521.jpg" alt="Project logo"></a>
26+
</p>
27+
2928
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
3029
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3130
**目录**
3231

33-
- [在线体验](#%E5%9C%A8%E7%BA%BF%E4%BD%93%E9%AA%8C)
34-
- [项目地址](#%E9%A1%B9%E7%9B%AE%E5%9C%B0%E5%9D%80)
35-
- [文档快链](#%E6%96%87%E6%A1%A3%E5%BF%AB%E9%93%BE)
36-
- [感谢](#%E6%84%9F%E8%B0%A2)
37-
- [另外](#%E5%8F%A6%E5%A4%96)
38-
- [加群](#%E5%8A%A0%E7%BE%A4)
39-
- [捐赠](#%E6%8D%90%E8%B5%A0)
40-
- [使用登记](#%E4%BD%BF%E7%94%A8%E7%99%BB%E8%AE%B0)
41-
- [贡献者](#%E8%B4%A1%E7%8C%AE%E8%80%85)
32+
- [🏊 在线体验](#-%E5%9C%A8%E7%BA%BF%E4%BD%93%E9%AA%8C)
33+
- [👨‍💻 项目地址](#-%E9%A1%B9%E7%9B%AE%E5%9C%B0%E5%9D%80)
34+
- [🔗 文档快链](#-%E6%96%87%E6%A1%A3%E5%BF%AB%E9%93%BE)
35+
- [🥰 感谢](#-%E6%84%9F%E8%B0%A2)
36+
- [🤗 另外](#-%E5%8F%A6%E5%A4%96)
37+
- [加群](#-%E5%8A%A0%E7%BE%A4)
38+
- [🤑 捐赠](#-%E6%8D%90%E8%B5%A0)
39+
- [📝 使用登记](#-%E4%BD%BF%E7%94%A8%E7%99%BB%E8%AE%B0)
40+
- [🤝 贡献者](#-%E8%B4%A1%E7%8C%AE%E8%80%85)
4241

4342
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
4443

@@ -53,6 +52,37 @@
5352

5453
在线环境可能不稳,如果遇到访问异常,或者数据错乱,请联系我进行修复。
5554

55+
**页面功能概览:**
56+
57+
<details><summary> 👉 展开查看</summary>
58+
59+
`登陆页`
60+
61+
![image_20220608_103118](https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220608_103118.png)
62+
63+
- 登录页背景图秉持go-ldap-admin项目定位,以一座抽象的高架桥梁作为背景。
64+
65+
- 注意红框中的忘记密码,此处是普通用户在忘记密码的情况下,可通过输入邮箱对密码进行重置,重置成功之后,系统会自动生成密码,并发送到用户邮箱。
66+
67+
- 部分公司的企业邮箱也是基于ldap进行认证的,那么这里可能会是个死循环,目前暂时不兼容考虑这种情况,后续如果这个场景的需求比较多,可以考虑再集成其他收信方式。
68+
69+
> 以上方式是用户忘记密码之后的自助修改密码方式,还有一种修改密码方式,是用户登录个人账号之后,在个人中心,通过输入原密码以及新密码进行密码重置。
70+
71+
`首页`
72+
73+
![image_20220608_103823](https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220608_103823.png)
74+
75+
目前首页中红框部分内容仅作为占位,并无实际数据含义。
76+
77+
`用户管理`
78+
79+
![image_20220608_103925](https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220608_103925.png)
80+
81+
`分组管理`
82+
83+
![image_20220608_104609](https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220608_104609.png)
84+
</details>
85+
5686
## 👨‍💻 项目地址
5787

5888
| 分类 | GitHub | Gitee |
@@ -118,13 +148,6 @@
118148
<sub><b>二丫讲梵</b></sub>
119149
</a>
120150
</td>
121-
<td align="center">
122-
<a href="https://github.com/OTR37">
123-
<img src="https://avatars.githubusercontent.com/u/51768167?v=4" width="100;" alt="OTR37"/>
124-
<br />
125-
<sub><b>OTR37</b></sub>
126-
</a>
127-
</td>
128151
<td align="center">
129152
<a href="https://github.com/xinyuandd">
130153
<img src="https://avatars.githubusercontent.com/u/3397848?v=4" width="100;" alt="xinyuandd"/>

src/views/groupUser/userList/index.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default {
102102
},
103103
methods: {
104104
handleClick(tab, event) {
105-
if (tab.index === 0) {
105+
if (tab.index === '0') {
106106
this.transParams.nickname = ''
107107
this.tabIndex = tab.index
108108
this.getTableData()
@@ -114,7 +114,7 @@ export default {
114114
},
115115
// 搜索框查询
116116
onInput(e) {
117-
if (this.tabIndex === 0) {
117+
if (this.tabIndex === '0') {
118118
this.transParams.nickname = e
119119
this.getTableData()
120120
} else {
@@ -124,7 +124,7 @@ export default {
124124
},
125125
// 搜索框查询
126126
search() {
127-
if (this.tabIndex === 0) {
127+
if (this.tabIndex === '0') {
128128
this.getTableData()
129129
} else {
130130
this.getNoMenu()

0 commit comments

Comments
 (0)