退出登录优化

This commit is contained in:
hupeng committed 2025-03-11 09:32:32 +08:00
1 parent 1967585578
commit f4e22cdf2f
1 file changed
+4 -2
@@ -36,8 +36,10 @@ const logout = () => {
type: 'success' type: 'success'
}); });
setTimeout(function() { setTimeout(function() {
uni.navigateBack(); uni.redirectTo({
}, 2000); url: '/pages/components/pages/login/login',
})
}, 1000);
} }
</script> </script>