OSDN Git Service

update the dispatch method
[bytom/Byone.git] / dapp-example / index.html
index e2d55e4..2978e4f 100644 (file)
@@ -23,8 +23,8 @@
       })
 
       // 监听Bytom插件加载成功事件
-      document.addEventListener('chromeBytomLoaded', () => {
-        console.log('chromeBytomLoaded')
+      document.addEventListener('bytomLoaded', () => {
+        console.log('bytomLoaded')
         bytom = window.bytom
       })
     </script>