Skip to content

Commit fcce3a6

Browse files
committed
修复文案错误
1 parent 68447c1 commit fcce3a6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "chatgpt-pdf-reader",
33
"productName": "chatgpt-pdf-reader",
4-
"version": "0.0.1",
4+
"version": "0.0.2",
55
"description": "My Electron application description",
66
"main": ".vite/build/main.js",
77
"scripts": {
8-
"start-win": "chcp 65001 && electron-forge start",
9-
"start:unix": "electron-forge start",
8+
"start-win": "chcp 65001 && npm run copy && electron-forge start",
9+
"start:unix": "npm run copy && electron-forge start",
1010
"package": "electron-forge package",
1111
"make-win32": "electron-forge make --platform=win32",
1212
"make-dmg": "electron-forge make --platform=darwin",

src/App.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export default function App() {
216216
</DataFor>
217217
</ul>
218218
</div>
219-
<div className="flex w-80 items-center justify-center">
219+
<div className="flex w-52 items-center justify-center">
220220
<label onClick={onFileUpload}
221221
className="flex flex-col items-center justify-center w-full border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600">
222222
<div className="flex flex-col items-center justify-center pt-5 pb-6">
@@ -228,7 +228,7 @@ export default function App() {
228228
d="M13 13h3a3 3 0 0 0 0-6h-.025A5.56 5.56 0 0 0 16 6.5 5.5 5.5 0 0 0 5.207 5.021C5.137 5.017 5.071 5 5 5a4 4 0 0 0 0 8h2.167M10 15V6m0 0L8 8m2-2 2 2" />
229229
</svg>
230230
<p className="mb-2 text-sm text-gray-500 dark:text-gray-400"><span
231-
className="font-semibold">Click to upload pdf</span> or drag and drop
231+
className="font-semibold">Click to upload pdf</span>
232232
</p>
233233
</div>
234234
</label>
@@ -384,7 +384,7 @@ export default function App() {
384384
d="M13 13h3a3 3 0 0 0 0-6h-.025A5.56 5.56 0 0 0 16 6.5 5.5 5.5 0 0 0 5.207 5.021C5.137 5.017 5.071 5 5 5a4 4 0 0 0 0 8h2.167M10 15V6m0 0L8 8m2-2 2 2" />
385385
</svg>
386386
<p className="mb-2 text-sm text-gray-500 dark:text-gray-400"><span
387-
className="font-semibold">Click to upload</span> or drag and drop</p>
387+
className="font-semibold">Click to upload</span></p>
388388
<p className="text-xs text-gray-500 dark:text-gray-400">SVG, PNG, JPG or GIF
389389
(MAX. 800x400px)</p>
390390
</div>

0 commit comments

Comments
 (0)