瀏覽代碼

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

File diff suppressed because it is too large
+ 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')

Some files were not shown because too many files changed in this diff