Dialog.type() 方法 对话框的类型。 签名 class Dialog { type(): Protocol.Page.DialogType; } 返回值: Protocol.Page.DialogType