|
@@ -7,6 +7,7 @@ export const setOfflineAxios = (axios: AxiosInstance) => {
|
|
const data: {[key in string]: any} = {}
|
|
const data: {[key in string]: any} = {}
|
|
Axios.get('/package/data.json', {headers: { Accept: "application/json"}}).then(res => {
|
|
Axios.get('/package/data.json', {headers: { Accept: "application/json"}}).then(res => {
|
|
Object.assign(data, res.data)
|
|
Object.assign(data, res.data)
|
|
|
|
+ window.offlineData = data
|
|
})
|
|
})
|
|
|
|
|
|
// 流接口
|
|
// 流接口
|