Commit 14ded230 authored by hewenhao's avatar hewenhao

feat(util): 添加native桥接调试日志

在$geek_excuteJS函数中添加console.log用于调试参数
parent a62a68cc
......@@ -20,6 +20,7 @@ const isAndroid = () => {
window.$geek_excuteJS = function (args: any) {
try {
console.log('$geek_excuteJS', args)
const params = JSON.parse(args)
eventBus.emit<NativeInvokeFuncParams>(GEEK_NATIVE_NAME, params)
} catch (error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment