CN-162 代理接口调试页面开发

This commit is contained in:
hyx
2021-11-11 23:28:52 +08:00
parent 98846fd2da
commit ced8281959
7 changed files with 590 additions and 10 deletions

View File

@@ -118,7 +118,7 @@ export async function getI18n () {
export async function getIso36112JsonData (suffix) {
const request = new Promise(resolve => {
axios({
url: `${window.location.protocol}//${window.location.host}:${window.location.port}/geojson/${suffix}.json`,
url: `${window.location.protocol}//${window.location.host}:${window.location.port}/geojson/${suffix}.json`
}).then(response => {
resolve(response.data || response || null)
})