Skip to content

Commit cea9db0

Browse files
author
share121
committed
fix: 优化错误处理
1 parent 48bbc41 commit cea9db0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "fast-down-gui",
4-
"version": "0.1.23",
4+
"version": "0.1.24",
55
"identifier": "com.fast-down.fast-down-gui",
66
"build": {
77
"beforeDevCommand": "bun run dev",

src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const pinia = createPinia()
1515
pinia.use(PiniaPluginPersistedstate)
1616

1717
const app = createApp(App)
18+
app.config.throwUnhandledErrorInProduction = true
1819
app.use(PrimeVue, {
1920
theme: {
2021
preset: Aura,

0 commit comments

Comments
 (0)