From 481be12427c2cd13fa138cedd8afe2b1155f5142 Mon Sep 17 00:00:00 2001 From: the1812 Date: Sat, 3 Jun 2023 13:59:20 +0800 Subject: [PATCH 1/2] Fix changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d8e36391..b6c609da1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,7 @@ - `自定义顶栏` 增加 `创作中心` 入口, `排行` 新增 `全站音乐榜` 和 `短剧榜` 的入口. (#4101, PR #4154 by [星海](https://github.com/lovelyCARDINAL), PR #4155 by [星海](https://github.com/lovelyCARDINAL)) - `播放器置顶(新)` 增加选项 `顶部留白`. (#4152, PR #4165 by [Ziu](https://github.com/ZiuChen)) - `播放器置顶(新)` 的标题改为放置到播放器和点赞中间. (PR #4208 by [LockRim](https://github.com/LockRim)) -- `显示视频投稿时间` 支持转义字符. (#4160, PR #4167 [呼乎户](https://github.com/wisokey)) +- `显示视频投稿时间` 支持转义字符. (#4160, PR #4167 by [呼乎户](https://github.com/wisokey)) - `隐藏视频推荐` 支持稍后再看和收藏夹播放页, 并适配 bpx 播放器. (#4174) - 新增功能 `隐藏记笔记` 和 `隐藏稿件投诉`. (#4124) - 优化了 `自定义顶栏` 中订阅在筛选时的 API 调用. (#4120) From fba10a80c0044dabf48c3aa14e7e459877e41a47 Mon Sep 17 00:00:00 2001 From: the1812 Date: Sun, 4 Jun 2023 20:19:57 +0800 Subject: [PATCH 2/2] Remove comma (fix #4237) --- registry/lib/components/utils/url-params-clean/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/lib/components/utils/url-params-clean/index.ts b/registry/lib/components/utils/url-params-clean/index.ts index 91534dde8..5a0a42a93 100644 --- a/registry/lib/components/utils/url-params-clean/index.ts +++ b/registry/lib/components/utils/url-params-clean/index.ts @@ -94,7 +94,7 @@ const entry = async () => { const getCleanUrl = (originalUrl: string) => { const url = new URL(originalUrl, location.origin) const urlParams = [...new URLSearchParams(url.search).entries()].map( - ([key, value]) => `${key}=${value},`, + ([key, value]) => `${key}=${value}`, ) if (urlParams.some(param => noClean.some(it => param.includes(it)))) { return originalUrl