mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-23 15:47:23 +08:00
✨ feat: 修改样式和启动命令
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ export const getIsMc = () => {
|
||||
return true
|
||||
}
|
||||
|
||||
export const getImgUrl = computed(() => (url: string, size: string) => {
|
||||
export const getImgUrl = computed(() => (url: string, size: string = '') => {
|
||||
const bdUrl = 'https://image.baidu.com/search/down?url='
|
||||
const imgUrl = encodeURIComponent(`${url}?param=${size}`)
|
||||
return `${bdUrl}${imgUrl}`
|
||||
|
||||
Reference in New Issue
Block a user