Skip to content

Commit a1306cb

Browse files
committed
【release】发布V1.1.3版本
1 parent 361a2c6 commit a1306cb

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default {
8585

8686
| Event | Type | Describe | Version |
8787
| :------: | :------: | :------: | :-----: |
88-
| success | Function | success callback | |
88+
| success | Function | success callback | 返回时间参数,单位为毫秒 |
8989
| fail | Function | fail callback | |
9090
| refresh | Function | 点击刷新按钮后的回调函数 | |
9191
| again | Function | 检测到非人为操作滑动时触发的回调函数 | 1.1.1 |
@@ -95,7 +95,12 @@ export default {
9595
### 国内镜像地址 [gitee镜像地址](https://gitee.com/monoplasty/vue-monoplasty-slide-verify)
9696

9797
### 更新记录
98-
#### V1.1.1 描述
98+
#### V1.1.3 描述
99+
- 解决IE 9 - 10 滑块显示bug,感谢大神 [@Guosugaz](https://github.com/Guosugaz) 修复此bug 🎉 [issue#26](https://github.com/monoplasty/vue-monoplasty-slide-verify/issues/26)
100+
- 修复 滑块成功后依然能滑动bug
101+
- 优化 图片未加载完成之前加载遮罩层
102+
- 增加滑动成功后的时间显示。单位毫秒。[issue#24](https://github.com/monoplasty/vue-monoplasty-slide-verify/issues/24)
103+
#### V1.1.1 描述(此版本有bug,请使用最新版)
99104
- `accuracy` 精度设置
100105
> 判断滑块与凹槽位置的误差范围值,默认取值范围为 [1, 10]。若取值不为 -1,则会开启检测非人为操作。人为操作也有可能会触发哦!
101106
>
@@ -120,7 +125,7 @@ this.$refs.slideblock.reset();
120125
## Log
121126
### V1.1.2
122127
1. 修复`imgs`不传时,页面的 warning 问题
123-
### V1.1.1
128+
### V1.1.1 (此版本有bug,请使用最新版)
124129
1. 增加**滑动验证的精度设置**
125130
2. 增加**滑块刷新成功后的回调函数**
126131
3. 可配置刷新按钮的显示
@@ -153,9 +158,9 @@ this.$refs.slideblock.reset();
153158
}
154159
},
155160
methods: {
156-
onSuccess(){
157-
console.log('验证通过');
158-
this.msg = 'login success'
161+
onSuccess(times){
162+
console.log('验证通过,耗时 +' times + '毫秒');
163+
this.msg = 'login success, 耗时${(times / 1000).toFixed(1)}s'
159164
},
160165
onFail(){
161166
console.log('验证不通过');

0 commit comments

Comments
 (0)