请求json
1.window.fetch
window.fetch('./点位.json', {
method: 'get'
}).then(e => {
e.json().then(r => {
console.log(r)
})
1.window.fetch
window.fetch('./点位.json', {
method: 'get'
}).then(e => {
e.json().then(r => {
console.log(r)
})