1
fei.wang
2025-03-07 1b6a3e58e8d3f9a4a56810b5433e28230fe8f3bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
export const minLogin = {
    data() {
        return {
 
        }
    },
    methods: {
        checkLogin() {
            let res = false;
            if (!this.vuex_is_login) {
                uni.showToast({
                    title: '暂未登录',
                    duration: 1500,
                    icon: 'none'
                });
                res = true;
                setTimeout(() => {
                    uni.reLaunch({
                        url: '/pages/index/login'
                    });
                }, 1500)
 
            }
            return res;
 
        },
 
 
    }
}