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