fix global override

This commit is contained in:
pompurin404 2024-09-18 15:35:05 +08:00
parent d7c2ec3cb4
commit bd62b5cd6c
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -4,5 +4,4 @@
### Bug Fixes
- 修复某些 Windows 设备D盘无法启动的问题
- 修复带锚点yaml覆写出错的问题
- 修复覆写更新后全局启用状态丢失的问题

View File

@ -63,6 +63,7 @@ export async function createOverride(item: Partial<IOverrideItem>): Promise<IOve
type: item.type,
ext: item.ext || 'js',
url: item.url,
global: item.global || false,
updated: new Date().getTime()
} as IOverrideItem
switch (newItem.type) {