mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 05:56:38 +08:00
[修复] 修复网站添加无法输入
This commit is contained in:
@@ -108,13 +108,12 @@ export function WebsiteEditorModal({
|
||||
return;
|
||||
}
|
||||
|
||||
saveMutation.reset();
|
||||
form.reset(
|
||||
initialDomain
|
||||
? toManagedDomainFormValues(initialDomain)
|
||||
: defaultManagedDomainValues,
|
||||
);
|
||||
}, [form, initialDomain, isOpen, saveMutation]);
|
||||
}, [form, initialDomain, isOpen]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!isOpen || !preferredCertificateId) {
|
||||
|
||||
Reference in New Issue
Block a user