mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Merge branch 'preview-features' into preview
This commit is contained in:
commit
24744b2032
@ -1,5 +1,9 @@
|
||||
# 更新日志
|
||||
|
||||
## v2.2.1
|
||||
`2022-06-03`
|
||||
- 修复部分浏览器 / 脚本管理器中脚本无法运行. (对应报错 `Error: Couldn't find a style target`)
|
||||
|
||||
## v2.2.0
|
||||
`2022-06-02`
|
||||
|
||||
|
||||
@ -117,7 +117,7 @@ getSpeedContext((components: EntrySpeedComponent[]) => disposableSpeedContext =>
|
||||
|
||||
if (repeatedKeys.length) {
|
||||
throw new Error(
|
||||
'In the registered speed component, there is an implementation of getSpeedContextMixin that causes the speed context to be mixed in ambiguous.\n'
|
||||
'In the registered speed component, there is an implementation of getSpeedContextMixin that causes the speed context to be mixed in ambiguous.\n'
|
||||
+ `The repeated key names are ${repeatedKeys.join(', ')}`,
|
||||
)
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "2.2.0",
|
||||
"version": "2.2.1",
|
||||
"author": "Grant Howard, Coulomb-G",
|
||||
"copyright": "[year], Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)",
|
||||
"licence": "MIT",
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
import { LaunchBarActionProvider, LaunchBarAction } from '@/components/launch-bar/launch-bar-action'
|
||||
import { Toast } from '@/core/toast'
|
||||
import { PluginMetadata } from '../plugin'
|
||||
|
||||
const getCopyItem = async (name: string, id: string, original: string) => {
|
||||
@ -11,6 +10,7 @@ const getCopyItem = async (name: string, id: string, original: string) => {
|
||||
action: async () => {
|
||||
if (item.name === id) {
|
||||
await navigator.clipboard.writeText(id)
|
||||
const { Toast } = await import('@/core/toast')
|
||||
Toast.success('复制成功', `复制${name}`, 1500)
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user