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

新版本安装后报这个错误 #2

Open
xujinhui2015 opened this issue Sep 24, 2024 · 0 comments
Open

新版本安装后报这个错误 #2

xujinhui2015 opened this issue Sep 24, 2024 · 0 comments

Comments

@xujinhui2015
Copy link

docsify@4:1 Docsify plugin error TypeError: Cannot read properties of undefined (reading 'style')
at o (docsify-auth.min.js:1:6573)
at docsify-auth.min.js:1:8727
at u (docsify@4:1:160567)
at n.callHook (docsify@4:1:160659)
at n._renderMain (docsify@4:1:154408)
at c (docsify@4:1:149178)
at XMLHttpRequest. (docsify@4:1:7527)

配置参数:
auth: {
enable: true, // 是否开启
use: "sha256",
password: "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918", // md5密码
title: "请输入密码以访问文档:", // 设置标题
paths: ["^/#/商城"] // 需要认证的路径,支持正则表达式匹配
}

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

No branches or pull requests

1 participant