소스 검색

Merge branch 'new-api' of http://192.168.0.115:3000/bill/mini-shop into new-api

gemercheung 3 년 전
부모
커밋
b16c06f657
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      pages/user/user.js

+ 2 - 0
pages/user/user.js

@@ -151,6 +151,8 @@ Page({
       data
     } = await util.request(api.UpdateUserInfo, body, 'POST', 'application/json')
     if (type == '1') {
+      console.log(data)
+      wx.setStorageSync('token', data.token);
       wx.navigateBack()
     } else {