We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9343f2d commit ef3683cCopy full SHA for ef3683c
src/app/service/content/gm_api/gm_api.ts
@@ -318,7 +318,7 @@ export default class GMApi extends GM_Base {
318
valueStore[key] = value_;
319
}
320
// 避免undefined 等空值流失,先进行映射处理
321
- keyValuePairs.push([key, encodeRValue(valueStore[key])]);
+ keyValuePairs.push([key, encodeRValue(value_)]);
322
323
a.sendMessage("GM_setValues", [id, keyValuePairs]);
324
return id;
0 commit comments