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;
|
| },
|
|
| }
| }
|
|