Frame.parentFrame() 方法 父框架(如果存在)。已分离的框架和主框架返回 null。 签名 class Frame { abstract parentFrame(): Frame | null; } 返回值: Frame | null