mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 13:10:30 +08:00
fix global override
This commit is contained in:
parent
d7c2ec3cb4
commit
bd62b5cd6c
@ -4,5 +4,4 @@
|
|||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- 修复某些 Windows 设备D盘无法启动的问题
|
- 修复覆写更新后全局启用状态丢失的问题
|
||||||
- 修复带锚点yaml覆写出错的问题
|
|
||||||
|
|||||||
@ -63,6 +63,7 @@ export async function createOverride(item: Partial<IOverrideItem>): Promise<IOve
|
|||||||
type: item.type,
|
type: item.type,
|
||||||
ext: item.ext || 'js',
|
ext: item.ext || 'js',
|
||||||
url: item.url,
|
url: item.url,
|
||||||
|
global: item.global || false,
|
||||||
updated: new Date().getTime()
|
updated: new Date().getTime()
|
||||||
} as IOverrideItem
|
} as IOverrideItem
|
||||||
switch (newItem.type) {
|
switch (newItem.type) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user