|
@@ -64,9 +64,9 @@ class Http {
|
|
|
}
|
|
|
|
|
|
export function wrapData(params) {
|
|
|
- const systemInfo = Taro.$global.systemInfo
|
|
|
- const launchOption = Taro.$global.launchOption
|
|
|
- const network = Taro.$global.network
|
|
|
+ const systemInfo = Taro.$global?.systemInfo
|
|
|
+ const launchOption = Taro.$global?.launchOption
|
|
|
+ const network = Taro.$global?.network
|
|
|
|
|
|
const defaultInfo = {
|
|
|
appId: APP_ID,
|