赞
踩
// 获取地址配置
const promise = fetch('/base.json', {
method: 'GET',
}).then((res) => {
if (res.status === 200) {
return res.json();
} else {
return {};
}
});
promise.then((res) => {
serverConfig.value =res;
});
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。