Skip to content

Commit fbfdb26

Browse files
authored
i18n(zh-cn): Update the outdated window-menu documentation. (#3252)
1 parent ca3a03b commit fbfdb26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/zh-cn/learn/window-menu.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ menu.setAsAppMenu().then((res) => {
4545

4646
```rust
4747
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
48-
use tauri::menu::{Menu, MenuItem};
48+
use tauri::menu::{MenuBuilder};
4949

5050
fn main() {
5151
tauri::Builder::default()

0 commit comments

Comments
 (0)