原神抽卡记录 - 查看你的抽卡结果
const jsonList = document.getElementById('jsonList');
fetch('抽卡记录.json')
.then(response => response.json())
.then(data => {
data.info.forEach(item => {
const li = document.createElement('li');
li.textContent = ${item.name} - ${item.item_type};
jsonList.appendChild(li);
});
})
.catch(error => console.error(error));
原文地址: https://www.cveoy.top/t/topic/qnNh 著作权归作者所有。请勿转载和采集!