forked from Gitlink/forgeplus-react
cont.
This commit is contained in:
parent
74a1b54655
commit
9db03e6def
|
|
@ -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);
|
||||
// });
|
||||
|
|
|
|||
Loading…
Reference in New Issue