This commit is contained in:
dongchengjie authored and GitHub committed 2024-04-22 01:40:25 +08:00
1 parent 91f097d514
commit cfbe98a39a
1 file changed
+2
@@ -97,6 +97,8 @@ export const ProfileViewer = forwardRef<ProfileViewerRef, Props>(
}
if (form.option?.update_interval) {
form.option.update_interval = +form.option.update_interval;
} else {
delete form.option?.update_interval;
}
if (form.option?.user_agent === "") {
delete form.option.user_agent;