skyouc
2025-07-09 f2e9b22a4cd54705700ebb69f5f04de6a7eccce8
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>