mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
docs: fix pictures example
This commit is contained in:
parent
cd9c664e81
commit
1de7cfc773
@ -10,7 +10,7 @@ import { ref, onMounted } from 'vue'
|
||||
const list = ref([])
|
||||
|
||||
onMounted(async () => {
|
||||
const res = await fetch('https://api.pengzhanbo.cn/wallpaper/bing/list/zh/').then((res) => res.json())
|
||||
const res = await fetch('https://api.pengzhanbo.cn/wallpaper/bing/zh/').then((res) => res.json())
|
||||
list.value = res.map(item => ({
|
||||
title: item.title,
|
||||
image: item.url,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user