npm install smarthome-h5-bridge
以vue为例,在入口文件中即main.js中引入即可
-- main.js import 'smarthome-h5-bridge'; 在需要的地方 window.bridge.getAppInfo()
bridge更新日志 →