common/Bridge.js
@@ -192,6 +192,7 @@ const { method, param, marker } = data; // 转换接收参数键名为驼峰 const param2 = this.transKeyName('camel', param); // 已注册协议 if (this._receives[method]) { // 有通知回调 if (marker) { @@ -204,6 +205,10 @@ this._receives[method](param2); } } // 未注册的协议 else { console.warn('BridgeTelling:通讯协议【' + method + '】尚未注册!'); } }; }