张延森 3 年 前
コミット
5efd21d29e
共有3 個のファイルを変更した6 個の追加8 個の削除を含む
  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 ファイルの表示

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

+ 5
- 5
src/pages/RoomOrder/index.jsx ファイルの表示

@@ -41,12 +41,12 @@ export default withLayout((props) => {
41 41
           return;
42 42
         }
43 43
       }
44
-      // Taro.reLaunch({
45
-      //   url: `/pages/index/index?tab=1&roomId=${roomId}`
46
-      // })
47 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 ファイルの表示

@@ -40,8 +40,6 @@ export default (props) => {
40 40
   const parkingGps = taRoomContent.parkingLocation || []
41 41
   const roomGps = taRoomContent.location || []
42 42
 
43
-
44
-
45 43
   const goContent = () => {
46 44
     if (roomOrderId) {
47 45
       goToRoomForm(roomOrderId).then((res) => {