From 0bb4e07dfe33e605dbf6773e8e40f263d20b195c Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Fri, 27 May 2022 16:22:19 +0800 Subject: [PATCH] fix(mp): fromRes error --- src/platforms/mp-weixin/helpers/enhance-system-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/mp-weixin/helpers/enhance-system-info.js b/src/platforms/mp-weixin/helpers/enhance-system-info.js index 66a59bd0a..4f5f7ab6b 100644 --- a/src/platforms/mp-weixin/helpers/enhance-system-info.js +++ b/src/platforms/mp-weixin/helpers/enhance-system-info.js @@ -70,7 +70,7 @@ export function populateParameters(result) { if (__PLATFORM__ === 'mp-weixin') { if (environment) { _hostName = environment - } else if (result.host && fromRes.host.env) { + } else if (result.host && result.host.env) { _hostName = result.host.env } } -- GitLab