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