张延森 3 years ago
parent
commit
5efd21d29e
3 changed files with 6 additions and 8 deletions
  1. 1
    1
      project.config.json
  2. 5
    5
      src/pages/RoomOrder/index.jsx
  3. 0
    2
      src/pages/index/tabs/Guide.jsx

+ 1
- 1
project.config.json View File

2
   "miniprogramRoot": "./dist",
2
   "miniprogramRoot": "./dist",
3
   "projectname": "miniapp",
3
   "projectname": "miniapp",
4
   "description": "十公里",
4
   "description": "十公里",
5
-  "appid": "wx835627a9b9b3932a",
5
+  "appid": "wx06a7372d48d56843",
6
   "setting": {
6
   "setting": {
7
     "urlCheck": true,
7
     "urlCheck": true,
8
     "es6": false,
8
     "es6": false,

+ 5
- 5
src/pages/RoomOrder/index.jsx View File

41
           return;
41
           return;
42
         }
42
         }
43
       }
43
       }
44
-      // Taro.reLaunch({
45
-      //   url: `/pages/index/index?tab=1&roomId=${roomId}`
46
-      // })
47
       personSubmit(roomOrderId, formData).then(a => {
44
       personSubmit(roomOrderId, formData).then(a => {
48
-        Taro.navigateBack({
49
-          delta: 1
45
+        // Taro.navigateBack({
46
+        //   delta: 1
47
+        // })
48
+        Taro.reLaunch({
49
+          url: `/pages/index/index?tab=1&roomId=${roomId}`
50
         })
50
         })
51
       })
51
       })
52
     })
52
     })

+ 0
- 2
src/pages/index/tabs/Guide.jsx View File

40
   const parkingGps = taRoomContent.parkingLocation || []
40
   const parkingGps = taRoomContent.parkingLocation || []
41
   const roomGps = taRoomContent.location || []
41
   const roomGps = taRoomContent.location || []
42
 
42
 
43
-
44
-
45
   const goContent = () => {
43
   const goContent = () => {
46
     if (roomOrderId) {
44
     if (roomOrderId) {
47
       goToRoomForm(roomOrderId).then((res) => {
45
       goToRoomForm(roomOrderId).then((res) => {