This commit is contained in:
黄心宇 2024-01-12 11:16:01 +08:00
parent 74a1b54655
commit 9db03e6def
1 changed files with 11 additions and 11 deletions

View File

@ -17,14 +17,14 @@ global.document = window.document;
global.navigator = window.navigator;
global.localStorage = {}
axios.get('https://gw.alipayobjects.com/os/lib/alipay/alex/2.0.19/bundle/alex.all.global.min.js')
.then(response => {
// 处理响应
if (response) {
// 这里你可以直接使用response.data而不是eval
eval(response);
}
})
.catch(error => {
console.error('Error fetching data:', error);
});
// axios.get('https://gw.alipayobjects.com/os/lib/alipay/alex/2.0.19/bundle/alex.all.global.min.js')
// .then(response => {
// // 处理响应
// if (response) {
// // 这里你可以直接使用response.data而不是eval
// eval(response);
// }
// })
// .catch(error => {
// console.error('Error fetching data:', error);
// });