mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
1 parent
4de22f9be7
commit
418a2fa0a7
4 files changed
+5
-14
No files matched your search
@@ -4463,8 +4463,7 @@ function updateEncryptionType() {
|
||||
el.encryptionCertificatesRow.hidden = !certificates;
|
||||
el.encryptionPassword.required = el.encryptionConfirm.required = password;
|
||||
el.encryptionCertificates.required = certificates;
|
||||
const user = mode === "password" && encryptionMode() === mode ? state.doc.encryption.users?.[0] || "" : "";
|
||||
el.encryptionUser.value = user === "User" ? "" : user;
|
||||
el.encryptionUser.value = mode === "password" && encryptionMode() === mode ? state.doc.encryption.users?.[0] || "" : "";
|
||||
el.encryptionPassword.value = el.encryptionConfirm.value = "";
|
||||
el.encryptionCertificates.value = "";
|
||||
el.encryptionStatus.textContent = mode === "keep" && state.doc?.encryption?.policyRequired ? "请重新选择加密方式" : "";
|
||||
|
||||
Reference in new issue
Block a user