tauri could not find `dialog` in `api`
时间: 2023-10-23 08:12:16 浏览: 47
As an AI language model, I cannot access your specific code or project. However, based on the error message you provided, it seems like you are trying to use the `dialog` module from the Tauri API, but it cannot be found.
Here are some possible reasons why you may be encountering this error:
1. You may not have installed the `dialog` module in your Tauri project. Make sure to add it to your `Cargo.toml` file and run `cargo update` to install it.
2. You may be trying to use the `dialog` module in the wrong context. Check to see if you have imported the module correctly and that you are using it within the appropriate scope.
3. There may be a bug or compatibility issue with the `dialog` module in your version of Tauri. Try updating to the latest version or checking the Tauri documentation for any known issues.
If none of these solutions work, you may need to provide more details about your code and project for further assistance.