whycq
2022-03-09 a27ddbef869c993682355a6aed02b5f6a0c0b84a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<template>
    <view></view>
</template>
<script>
    export default {
        mounted() {
            uni.showToast({
                title: "退出成功",
                duration: 1000
            })
            setTimeout(() => {
                uni.removeStorageSync('token');
                uni.removeStorageSync('HCuname');
                uni.removeStorageSync('HCpassw');
                uni.reLaunch({
                    url:"/pages/login/login"
                });
            }, 1000);
        },
        
    }
    
</script>