Skip to content

ysllyfe/freego_ble_wx_component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

使用方法

引入component

"usingComponents": {
  "RoomLockCtl": "/components/room-lock-ctl/index",
}
<RoomLockCtl currentRoom="{{currentRoom}}" bind:blecallback="blueCallback" detachedRelease="{{false}}" bind:httpOpenDoor="httpOpenDoor" />

currentRoom 为API返回的数据结构

{id deviceId lockToken version bluetooth: true, httpOnline: false}

注意,需要在app.js添加的数据

  • 可通过 app.globalData.mobile 调用使用者的手机号

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published