docs: fix pictures example

This commit is contained in:
pengzhanbo 2025-05-19 20:44:35 +08:00
parent cd9c664e81
commit 1de7cfc773

View File

@ -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,