This commit is contained in:
@fawn-nine
2024-05-21 16:29:23 +08:00
parent ed803b94bf
commit edf80bea28
2 changed files with 181 additions and 84 deletions

View File

@@ -707,11 +707,21 @@
title: '登录成功',
duration: 2000
});
// 跳转底部导航
setTimeout(() => {
// uni.switchTab({
// url: "/pages/home/home"
// });
uni.switchTab({
url: "/pages/home/home"
});
}, 2000);
                url: "/pages/home/home",
                success: function () {
                  let page = getCurrentPages()[0];                  
          page.$vm.requestAll();
                },
              });
}, 1000);
} else {
uni.showModal({
title: '提示',
@@ -767,10 +777,17 @@
duration: 2000
});
setTimeout(() => {
// uni.switchTab({
// url: "/pages/home/home"
// });
uni.switchTab({
url: "/pages/home/home"
});
}, 2000);
                url: "/pages/home/home",
                success: function () {
                  let page = getCurrentPages()[0];                  
                  page.$vm.requestAll();
                },
              });
}, 1000);
} else {
uni.showModal({
title: '提示',