use es5 instead of es6 (proxy not supported by qjsengine)

This commit is contained in:
王劲鹏
2021-02-03 10:46:47 +08:00
committed by osborn
parent fb4df95d0a
commit 5711352d33
4 changed files with 7 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ class BridgeExtension : public QObject
public:
explicit BridgeExtension(QObject *parent = nullptr);
void callNative(QString contextId, QString module, QString methodName, QString callbackId, QJSValue jsValue);
Q_INVOKABLE void callNative(QString contextId, QString module, QString methodName, QString callbackId, QJSValue jsValue);
};
#endif // BRIDGEEXTENSION_H