浏览代码

chore(examples/parent-window): fix import closes #9704 (#9705)

* chore(examples/parent-window): fix import

closes #9704

* lock file
Amr Bashir 1 年之前
父节点
当前提交
a813caf2e4
共有 2 个文件被更改,包括 161 次插入161 次删除
  1. 160 160
      Cargo.lock
  2. 1 1
      examples/parent-window/index.html

文件差异内容过多而无法显示
+ 160 - 160
Cargo.lock


+ 1 - 1
examples/parent-window/index.html

@@ -14,7 +14,7 @@
     <div id="response"></div>
 
     <script>
-      const WebviewWindow = window.__TAURI__.webview.WebviewWindow
+      const { WebviewWindow } = window.__TAURI_.webviewWindow
       const thisTauriWindow = window.__TAURI__.window.getCurrent()
       const windowLabel = thisTauriWindow.label
       const windowLabelContainer = document.getElementById('window-label')

部分文件因为文件数量过多而无法显示