|
@@ -7,26 +7,42 @@ App({
|
7
|
7
|
},
|
8
|
8
|
|
9
|
9
|
judge_Land() {
|
10
|
|
- try {
|
11
|
|
- const value = wx.getStorageSync('wx_id')
|
12
|
|
- if (value) {
|
13
|
|
-
|
14
|
|
- }
|
15
|
|
- } catch (e) {
|
16
|
|
-
|
17
|
|
- }
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
18
|
18
|
|
19
|
19
|
try {
|
20
|
|
- const value = wx.getStorageSync('access_token')
|
21
|
|
- if (value) {
|
22
|
|
-
|
23
|
|
- console.log(value);
|
24
|
|
-
|
25
|
|
- }else{
|
|
20
|
+ if (wx.getStorageSync('access_token')) {
|
|
21
|
+
|
|
22
|
+ wx.reLaunch({
|
|
23
|
+ url: '/pages/index/index'
|
|
24
|
+ })
|
|
25
|
+
|
|
26
|
+ } else if (wx.getStorageSync('wx_id')) {
|
|
27
|
+
|
26
|
28
|
wx.reLaunch({
|
27
|
29
|
url: '/pages/Landpage/Land/Land'
|
28
|
|
- })
|
|
30
|
+ })
|
|
31
|
+ } else {
|
|
32
|
+ wx.reLaunch({
|
|
33
|
+ url: '/pages/Jurisdiction/click_Jurisdiction/click_Jurisdiction'
|
|
34
|
+ })
|
29
|
35
|
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
30
|
46
|
} catch (e) {
|
31
|
47
|
|
32
|
48
|
}
|
|
@@ -34,22 +50,7 @@ App({
|
34
|
50
|
|
35
|
51
|
|
36
|
52
|
|
37
|
|
- if (wx.getStorageSync('access_token')) {
|
38
|
|
-
|
39
|
|
- wx.reLaunch({
|
40
|
|
- url: '/pages/index/index'
|
41
|
|
- })
|
42
|
|
-
|
43
|
|
- } else if (wx.getStorageSync('wx_id')) {
|
44
|
|
-
|
45
|
|
- wx.reLaunch({
|
46
|
|
- url: '/pages/Landpage/Land/Land'
|
47
|
|
- })
|
48
|
|
- }else {
|
49
|
|
- wx.reLaunch({
|
50
|
|
- url: '/pages/Jurisdiction/click_Jurisdiction/click_Jurisdiction'
|
51
|
|
- })
|
52
|
|
- }
|
|
53
|
+
|
53
|
54
|
|
54
|
55
|
|
55
|
56
|
},
|