skyouc
2025-08-06 e6b2d108f49e2dc1d3c825704cb19e5557607420
pages/login/logOut.vue
@@ -1,21 +1,21 @@
<template>
   <view></view>
</template>
<script>
   export default {
      mounted() {
         uni.showToast({
            title: '注销成功',
            duration: 1000
         })
         setTimeout(() => {
            uni.removeStorageSync('token');
            uni.reLaunch({
                url:"/pages/login/login"
            });
         }, 1000);
      },
   }
<template>
   <view></view>
</template>
<script>
   export default {
      mounted() {
         uni.showToast({
            title: '注销成功',
            duration: 1000
         })
         setTimeout(() => {
            uni.removeStorageSync('token');
            uni.reLaunch({
                url:"/pages/login/login"
            });
         }, 1000);
      },
   }
</script>