Просмотр исходного кода

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

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

closes #9704

* lock file
Amr Bashir 1 год назад
Родитель
Сommit
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')

Некоторые файлы не были показаны из-за большого количества измененных файлов