diff --git a/packages/uni-mp-core/src/api/protocols/enhanceSystemInfo.ts b/packages/uni-mp-core/src/api/protocols/enhanceSystemInfo.ts index e34bf069abf866ec221d8766e36613ccb8c9efef..44dbc0b15b801230efa5a37411c0a753a7f2c5e2 100644 --- a/packages/uni-mp-core/src/api/protocols/enhanceSystemInfo.ts +++ b/packages/uni-mp-core/src/api/protocols/enhanceSystemInfo.ts @@ -49,10 +49,10 @@ export function populateParameters( toRes: UniApp.GetSystemInfoResult ) { const { - brand, - model, - system, - language, + brand = '', + model = '', + system = '', + language = '', theme, version, hostName,