Преглед на файлове

fix(examples/parent-window): fix typo in import (#9816)

ryoichi преди 1 година
родител
ревизия
fe90a2925e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      examples/parent-window/index.html

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

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