退出登录优化

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'
});
setTimeout(function() {
uni.navigateBack();
}, 2000);
uni.redirectTo({
url: '/pages/components/pages/login/login',
})
}, 1000);
}
</script>