diff --git a/README.CN.md b/README.CN.md index e15ae61..4114880 100644 --- a/README.CN.md +++ b/README.CN.md @@ -101,7 +101,6 @@ export default { if (this.canvasVerify) { const verified = true // true: 测试通过验证, false: 测试未通过验证 this.DoServiceVerify(verified, 2000).then((verifiedRes) => { - rotate() if (verifiedRes) { console.log('验证通过, 开始旋转') rotate() // 调用回调, 开始旋转 diff --git a/README.md b/README.md index 79cef36..5eb3437 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,6 @@ export default { if (this.canvasVerify) { const verified = true // true: the test passed the verification, false: the test failed the verification this.DoServiceVerify(verified, 2000).then((verifiedRes) => { - rotate() if (verifiedRes) { console.log('Verification passed, start to rotate') rotate() // Call the callback, start spinning diff --git a/src/App.vue b/src/App.vue index 346907e..6fc0c01 100644 --- a/src/App.vue +++ b/src/App.vue @@ -94,7 +94,6 @@ export default { if (this.canvasVerify) { const verified = true // true: 测试通过验证, false: 测试未通过验证 this.DoServiceVerify(verified, 2000).then((verifiedRes) => { - rotate() // 传 ture 则开始旋转, 不传默认 false 不旋转 if (verifiedRes) { console.log('验证通过, 开始旋转') rotate() // 调用回调, 开始旋转