Skip to content

Commit 13bc4d1

Browse files
author
share121
committed
fix: 修复 add 函数中配置覆盖关系错误的问题
1 parent 1d594c0 commit 13bc4d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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.16",
4+
"version": "0.1.17",
55
"identifier": "com.fast-down.fast-down-gui",
66
"build": {
77
"beforeDevCommand": "bun run dev",

src/stores/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ sec-ch-ua-platform: "Windows"`,
219219
) {
220220
const unlock = await mutex.lock()
221221
const config = {
222-
...options.config,
223222
...globalConfig.value,
223+
...options.config,
224224
}
225225
try {
226226
const headersObj = buildHeaders(config.headers)

0 commit comments

Comments
 (0)