liushengqiang hace 2 años
padre
commit
3b24a4a679
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/utils/native-message.ts

+ 1 - 1
src/utils/native-message.ts

@@ -76,7 +76,7 @@ export const postMessage = (data: IPostMessage, callback?: CallBack) => {
 		calls[uuid] = callback || loop;
 		data.content = data.content ? { ...data.content, uuid } : { uuid };
 		instance.postMessage(JSON.stringify(data));
-		console.log("h5_请求_api:", data.api);
+		console.log("h5_请求_api:", data);
 	}
 };