fix(Popover): close-on-click-outside not work (#8352)

This commit is contained in:
neverland
2021-03-15 20:05:45 +08:00
committed by GitHub
parent d9c51b9070
commit 40a1b27c5d
3 changed files with 24 additions and 3 deletions
+4 -2
View File
@@ -1,6 +1,8 @@
import {isDef} from "./base";
import { isDef } from './base';
export function deepClone<T extends Record<string, any> | null | undefined>(obj: T): T {
export function deepClone<T extends Record<string, any> | null | undefined>(
obj: T
): T {
if (!isDef(obj)) {
return obj;
}