Skip to content

Commit ef3683c

Browse files
authored
♻️ 修改 9343f2d (#1195)
1 parent 9343f2d commit ef3683c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/service/content/gm_api/gm_api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export default class GMApi extends GM_Base {
318318
valueStore[key] = value_;
319319
}
320320
// 避免undefined 等空值流失,先进行映射处理
321-
keyValuePairs.push([key, encodeRValue(valueStore[key])]);
321+
keyValuePairs.push([key, encodeRValue(value_)]);
322322
}
323323
a.sendMessage("GM_setValues", [id, keyValuePairs]);
324324
return id;

0 commit comments

Comments
 (0)