最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

vue.js - tauri TypeError: window is not a function in tray app - Stack Overflow

programmeradmin8浏览0评论

Minimize the tray application, perform corresponding window operations based on user actions.

First time opening the tauri app, the desktop tray can run normally, but an error occurs in the desktop tray after vite hot reload.

error :

TypeError: window[("_" + 3953540559)] is not a function at <anonymous>:1:162 Promise.catch
(匿名) @ VM354:1

tauri info

[✔] Environment
    - OS: Windows 10.0.22631 x86_64 (X64)
    ✔ WebView2: 134.0.3124.83
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.85.0 (4d91de4e4 2025-02-17)
    ✔ cargo: 1.85.0 (d73d2caf9 2024-12-31)
    ✔ rustup: 1.28.1 (f9edccde0 2025-03-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 23.9.0
    - yarn: 1.22.22
    - npm: 10.9.2
[-] Packages
    - tauri 
发布评论

评论列表(0)

  1. 暂无评论