#
whycq
2022-09-21 715e98f510a4c1f024eb8f82044e644ca5c73070
pages/login/login.vue
@@ -277,6 +277,7 @@
                  "content-type": "application/json"
                },
                success: (result) => {
                  console.log(result);
                  let res = result.data;
                  uni.hideLoading();
                  if (res.code == 200) {
@@ -293,6 +294,7 @@
                        uni.removeStorageSync('HCpassw');
                     }
                     uni.setStorageSync('token', res.data.token);
                     console.log('...');
                     setTimeout(() => {
                        uni.navigateBack();      //   小程序用这个  把首页路由放第一个
                        uni.reLaunch({