Skip to content

Commit 5c0ecbd

Browse files
committed
🐞 fix: 修复GM.info不存在的问题
1 parent 01f1036 commit 5c0ecbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/service/content/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export function createContext(scriptRes: ScriptRunResouce, GMInfo: any, envPrefi
6868
valueUpdate: GMApi.prototype.valueUpdate,
6969
emitEvent: GMApi.prototype.emitEvent,
7070
EE: new EventEmitter(),
71-
GM: { Info: GMInfo },
71+
GM: { info: GMInfo },
7272
GM_info: GMInfo,
7373
window: {},
7474
};

0 commit comments

Comments
 (0)