mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
refactor: simplify version function export in context menu
This commit is contained in:
1 parent
e8a7e050c4
commit
012c73c202
11 files changed
+16
-17
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { version } from '../../package.json';
|
||||
|
||||
export default function version(option) {
|
||||
export default function (option) {
|
||||
return {
|
||||
...option,
|
||||
html: `<a href="https://artplayer.org" target="_blank">ArtPlayer ${version}</a>`,
|
||||
|
||||
Reference in new issue
Block a user