fix-gitbook

This commit is contained in:
tangly1024
2023-07-08 12:03:12 +08:00
parent b581110d19
commit 10199ed983
4 changed files with 28 additions and 25 deletions

View File

@@ -28,7 +28,6 @@ const Slug = props => {
*/
const validPassword = passInput => {
const encrypt = md5(post.slug + passInput)
console.log('passInput', passInput, post.slug)
if (passInput && encrypt === post.password) {
setLock(false)
return true