ConsoleMessageConsoleMessage.frameOn this pageConsoleMessage.frame() 方法 🌐 ConsoleMessage.frame() method 发起控制台消息的Frame,如果消息来自 worker,则为 null。 🌐 The Frame that initiated the console message, or null if the message originated from a worker. 语法 🌐 Signature class ConsoleMessage { frame(): Frame | null;} 返回: 框架 | 空