Browse Source

fix: bind car success setStorageSync device

wangyuan 2 years ago
parent
commit
a9ba3eba7f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pages/permissions/permissions.js

+ 1 - 0
pages/permissions/permissions.js

@@ -100,6 +100,7 @@ Page({
     bindCar(data).then(scanres => {
       // 绑定成功到扫描档案页面
       wx.hideLoading()
+      wx.setStorageSync('device', scanres.data)
       wx.showModal({
         content: '权限登录成功',
         confirmColor: '#333',