We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
文档描述如下:
代码如下:
interface WebView { ... /** * 将本地资源转换成可在WebView中加载的Uri。 */ asWebviewUri(Uri: Uri): void; }
代码中该方法没有返回值。
另外,在代码中调用的时候:
resolveCustomEditor(document, webViewPanel) { console.log(webViewPanel.webView) console.log(webViewPanel.webView.asWebviewUri) }
打印如下:
// webView有值 WebView { _id: 'customeditor.htmlEdit.html.1', _msgListeners: [], _html: '' // webView.asWebviewUri为undefined undefined
这两个问题是怎么回事?是我的版本有问题吗? 我的环境是macOS 12.3,HBuilderX版本为:3.6.15.20221228
The text was updated successfully, but these errors were encountered:
我也遇到了上面的问题,您这边解决了吗
Sorry, something went wrong.
No branches or pull requests
文档描述如下:
代码如下:
代码中该方法没有返回值。
另外,在代码中调用的时候:
打印如下:
这两个问题是怎么回事?是我的版本有问题吗?
我的环境是macOS 12.3,HBuilderX版本为:3.6.15.20221228
The text was updated successfully, but these errors were encountered: