fix:增加测试代码、更新插件说明文档
This commit is contained in:
parent
3e4ce7b476
commit
b55d0b857c
@ -1,5 +1,3 @@
|
|||||||
import {getFingerprintList, getIcCardList} from "star-cloud-uni";
|
|
||||||
|
|
||||||
const {
|
const {
|
||||||
init,
|
init,
|
||||||
Result,
|
Result,
|
||||||
@ -14,7 +12,9 @@ const {
|
|||||||
getOfflinePassword,
|
getOfflinePassword,
|
||||||
registerExtendedProducts,
|
registerExtendedProducts,
|
||||||
starEventOn,
|
starEventOn,
|
||||||
starEventEmit
|
starEventEmit,
|
||||||
|
getFingerprintList,
|
||||||
|
getIcCardList
|
||||||
} = requirePlugin('starCloud')
|
} = requirePlugin('starCloud')
|
||||||
Page({
|
Page({
|
||||||
data: {
|
data: {
|
||||||
@ -243,5 +243,5 @@ Page({
|
|||||||
async findAllFingerprint() {
|
async findAllFingerprint() {
|
||||||
const result = await getFingerprintList({lockId: this.lock.lockId})
|
const result = await getFingerprintList({lockId: this.lock.lockId})
|
||||||
console.log('findAllFingerprint', result)
|
console.log('findAllFingerprint', result)
|
||||||
},
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user