WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2021-08-15 dec047c9fbceb85c668970bf6e9dae0588bfd104
common/Bridge.js
@@ -42,7 +42,7 @@
     */
    _checkLinking() {
        // 安卓注入
        if (window.linking) {
        if (window.aisim && window.aisim.linking) {
            return 'android';
        }
        // 没有注入
@@ -102,7 +102,7 @@
            delete this[name];
        };
        // 发送
        window.linking(JSON.stringify({
        window.aisim.linking(JSON.stringify({
            method,
            param,
            callback: 'bridge.' + name,
@@ -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);
@@ -167,7 +167,7 @@
            return;
        }
        // 发送
        window.linking(JSON.stringify({
        window.aisim.linking(JSON.stringify({
            method,
            param,
            marker,