Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

输入密码后按回车键页面没反应,控制台报错 #167

Closed
small-ora opened this issue Feb 1, 2021 · 1 comment
Closed

输入密码后按回车键页面没反应,控制台报错 #167

small-ora opened this issue Feb 1, 2021 · 1 comment

Comments

@small-ora
Copy link

Issue

Expected Behavior

加密的博客,输入密码后按回车键就可以查看

Actual Behavior

加密的博客,输入密码后按回车键页面没反应,控制台报错

控制台报错信息

Uncaught (in promise) TypeError: Cannot read property 'importKey' of undefined
at getKeyMaterial (hbe.js:98)
at HTMLDivElement. (hbe.js:267)

Steps to Reproduce the Problem

  1. 使用hexo驱动博客
  2. 使用ayer主题(https://github.com/Shen-Yu/hexo-theme-ayer)
  3. 安装hexo-blog-encrypt插件,给tag添加密码
  4. 访问加密tag下的文章,输入密码

Specifications

"dependencies": {
"hexo": "^5.0.0",
"hexo-blog-encrypt": "^3.1.4",
"hexo-generator-archive": "^1.0.0",
"hexo-generator-category": "^1.0.0",
"hexo-generator-index": "^2.0.0",
"hexo-generator-searchdb": "^1.3.3",
"hexo-generator-tag": "^1.0.0",
"hexo-renderer-ejs": "^1.0.0",
"hexo-renderer-marked": "^3.0.0",
"hexo-renderer-stylus": "^2.0.0",
"hexo-server": "^2.0.0",
"hexo-theme-landscape": "^0.0.3"
}

(The version of the project, operating system, hardware etc.)

@D0n9X1n
Copy link
Owner

D0n9X1n commented Feb 1, 2021

#129 #114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants