fei.wang
2025-04-30 722da005a5ec126bedf752ac6bd5c5c7f6172155
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;
 
        },
 
 
    }
}