Commit 128a9629 by hank

修复WiFi 已连接

parent 4451ecdc
......@@ -159,6 +159,9 @@ class Bluetooth {
console.log({ state })
if (state === 'CONNECTING') {
Taro.showLoading({ title: '连接中...' })
} else if (state === 'EXIST') {
Taro.hideLoading()
showMyToast({ title: '该WIFI已连接~' })
} else if (state === 'SUCCESS') {
Taro.hideLoading()
showMyToast({ title: '连接成功~' })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment