diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index b6ee899..d4cf26d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -13,8 +13,8 @@ "windows": [ { "title": "骂人宝典", - "width": 800, - "height": 600 + "width": 560, + "height": 400 } ], "security": { diff --git a/src/App.tsx b/src/App.tsx index c9c50f3..162f0ba 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -7,7 +7,6 @@ enum Level { } export default function App() { - // 文本内容状态 const [text, setText] = useState("") const [isLast, setIsLast] = useState(false) const [last, setLast] = useState("") @@ -50,33 +49,33 @@ export default function App() { return (
-
-

骂人宝典

- -
- -
-
+
+
- {text} +