element ui el-switch 自动触发事件问题[已解决]
element 中的el-switch在页面加载时,会自动执行change事件,查了很多解决办法,其实还是自己的代码写错了。自动触发事件问题[已解决]...
Tauri使用convertFileSrc将本地媒体文件mp3-mp4转换为可播放的媒体地址
如果直接用本地的地址,会出现 Not allowed to load local resource 错误。所以必须要转换为url形式的绝对路径。类似于URL createObjectURL这样的方法。这时候就用到Tauri提供的 convertFileSrc 方法了。...
Tauri读取文件Unhandled rejection: path not allowed on the configured scope
Tauri在读取硬盘文件时,会提示:Unhandled rejection: path not allowed on the configured scope...
在Windown下启动 Tauri+vue,error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 解决办法
很多人看网上安装Rust的教程,选择了 【stable-x86_64-pc-windows-gnu】其实 stable-x86_64-pc-windows-gnu 的坑是最多的。...
tauri项目启动:error: failed to download from `https://crates.io/api/v1/crates/windows-metadata/0.37.0/download`解决办法
tauri项目启动时,出现如下错误:error: failed to download from `https: crates io...