D0n9X1n / hexo-blog-encrypt

Yet, just another hexo plugin for security.
https://www.npmjs.com/package/hexo-blog-encrypt
MIT License
971 stars 101 forks source link

即使输入正确的密码,也是不能恢复已经被隐藏的内容,而且加密的输入框仍然在页面中显示 #140

Closed jonnzer closed 3 years ago

jonnzer commented 3 years ago

Issue

即使输入正确的密码,也是不能恢复已经被隐藏的内容,而且加密的输入框仍然在页面中显示

Expected Behavior

输入正确的密码,应该隐藏掉输入框,页面只有之前被隐藏的内容,和再次加密的按钮

Actual Behavior

输入密码后,不能恢复已经被隐藏的内容

Steps to Reproduce the Problem

  1. _页面连接:https://jonnzer.github.io/2020/07/03/test/ 密码是123
  2. _ 报错信息:Cannot read property 'innerText' of undefined blog-encrypt.js:15 第15行的逻辑里会报错。
  3. _ 截屏2020-07-11 下午2 40 04 (2)

Specifications

hexo-apollo主题,操作系统macbook的macos,chorme浏览器最新版。 (The version of the project, operating system, hardware etc.)

D0n9X1n commented 3 years ago

能提供下脱敏之后的原文嘛?

D0n9X1n commented 3 years ago

感觉有个更加简单的办法...要是可以的话把主题换成 https://github.com/MikeCoder/hexo-theme-gandalfr ? 这个主题外观上和 Apollo 基本上是一致的

jonnzer commented 3 years ago

能提供下脱敏之后的原文嘛?

原文就是 test test test

jonnzer commented 3 years ago

感觉有个更加简单的办法...要是可以的话把主题换成 https://github.com/MikeCoder/hexo-theme-gandalfr ? 这个主题外观上和 Apollo 基本上是一致的

我之前试过换呢,但是解决不了,我再试一次

jonnzer commented 3 years ago

谢谢帅气的Mike哈, https://github.com/MikeCoder/hexo-theme-gandalfr 这个主题我再装一次,可以加密了,感恩!!!