Skip to content

Commit

Permalink
代码优化
Browse files Browse the repository at this point in the history
  • Loading branch information
yong.teng committed Dec 3, 2024
1 parent 35c8b77 commit b785790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ class CookieInstance implements Cookie {
.replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent);
const $value = value ? encodeURIComponent(value)
.replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent) : '';

let stringifiedAttributes = '';

if (options) {
Expand Down

0 comments on commit b785790

Please sign in to comment.