skyouc
2025-08-08 087b9f6cea5b4d2eb1c9fa3959ac0dc5b09cf254
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>