From a69aee6376d5564b68439a5e51c3177f1d6f88af Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Sat, 19 Jun 2021 17:08:51 +0800
Subject: [PATCH] 修复升级后 Tools 在 h5 模式下 rem 转 px 函数报错的问题

---
 common/Bridge.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/Bridge.js b/common/Bridge.js
index d5cdfc2..4bbb318 100644
--- a/common/Bridge.js
+++ b/common/Bridge.js
@@ -144,7 +144,7 @@
             if (this._receives[method]) {
                 if (marker) {
                     this._receives[method](param, (param2) => {
-                        this._sendTelling(method, param2, marker);
+                        this._sendTelling(method, param2 || {}, marker);
                     });
                 } else {
                     this._receives[method](param);

--
Gitblit v1.9.1