diff --git a/hybrid/html/local.html b/hybrid/html/local.html
index 1eb65ac124e18b94b7324f075fef90a16b7c6ef1..4ee55135027c56b17ec1fbd596d0f51733289b8f 100644
--- a/hybrid/html/local.html
+++ b/hybrid/html/local.html
@@ -78,11 +78,11 @@
})
// });
document.querySelector("#postMessage").addEventListener('click', function() {
- window.__uniapp_x_.postMessage(JSON.stringify({
+ uni.postMessage({
data: {
action: 'message'
}
- }))
+ })
})