智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LightingSystemApp-serial/.svn/pristine/a5/a594d276fc0b6fce2363597ade7...

12 lines
308 B

3 years ago
/**
* 触发 service 层,与 onMethod 对应
*/
export function publish (name, res) {
return UniServiceJSBridge.emit('api.' + name, res)
}
export function publishHandler (event, args, pageId) {
// h5 平台直接调用UniViewJSBridge
global.UniViewJSBridge.subscribeHandler(event, args, pageId)
}