浏览代码

显示标题栏

john 2 年之前
父节点
当前提交
22f96cbff3
共有 2 个文件被更改,包括 20 次插入3 次删除
  1. 19 0
      README.md
  2. 1 3
      src-tauri/tauri.conf.json

+ 19 - 0
README.md

@@ -5,3 +5,22 @@ This template should help get you started developing with Tauri, React and Types
 ## Recommended IDE Setup
 
 - [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
+
+
+
+
+## 开发笔记
+```
+隐藏标题栏
+    "windows": [
+      {
+        "fullscreen": false,
+        "height": 735,
+        "resizable": true,
+        "title": "System Tools",
+        "width": 1150,
+        "hiddenTitle": true,
+        "titleBarStyle": "Overlay"
+      }
+    ]
+```

+ 1 - 3
src-tauri/tauri.conf.json

@@ -59,9 +59,7 @@
         "height": 735,
         "resizable": true,
         "title": "System Tools",
-        "width": 1150,
-        "hiddenTitle": true,
-        "titleBarStyle": "Overlay"
+        "width": 1150
       }
     ]
   }