[baozhangchao] 3 years ago
parent
commit
7dfef304aa

+ 2
- 1
config/dev.js View File

3
     NODE_ENV: '"development"'
3
     NODE_ENV: '"development"'
4
   },
4
   },
5
   defineConstants: {
5
   defineConstants: {
6
-    HOST: '"https://machine.njyunzhi.com"',
6
+    // HOST: '"https://machine.njyunzhi.com"',
7
+    HOST: '"http://192.168.89.147:7080"',
7
     OSS: '""',
8
     OSS: '""',
8
     // VERSION: '"2.0.33"',
9
     // VERSION: '"2.0.33"',
9
   },
10
   },

+ 2
- 1
config/prod.js View File

3
     NODE_ENV: '"production"'
3
     NODE_ENV: '"production"'
4
   },
4
   },
5
   defineConstants: {
5
   defineConstants: {
6
-    HOST: '"https://machine.njyunzhi.com"',
6
+    // HOST: '"https://machine.njyunzhi.com"',
7
+    HOST: '"http://192.168.89.147:7080"',
7
 
8
 
8
     OSS: '""',
9
     OSS: '""',
9
     // VERSION: '"2.0.33"',
10
     // VERSION: '"2.0.33"',

+ 0
- 1
src/pages/MyAddressList/AddressInfos/index.jsx View File

12
 
12
 
13
 
13
 
14
 export default withLayout((props) => {
14
 export default withLayout((props) => {
15
-  console.log("🚀 ~ file: index.jsx ~ line 14 ~ props", props)
16
 
15
 
17
   const $instance = Taro.getCurrentInstance()
16
   const $instance = Taro.getCurrentInstance()
18
   const { addressId, address } = $instance.router.params
17
   const { addressId, address } = $instance.router.params

+ 6
- 2
src/pages/userInfo/index.jsx View File

43
           icon: 'none',
43
           icon: 'none',
44
         })
44
         })
45
         setTimeout(() => {
45
         setTimeout(() => {
46
-          Taro.navigateBack({
47
-            delta: 1
46
+          // Taro.navigateBack({
47
+          //   delta: 1
48
+          // })
49
+          Taro.reLaunch({
50
+            url: `/pages/index/index?tab=3`
48
           })
51
           })
52
+
49
         }, 1000)
53
         }, 1000)
50
       }).catch((e) => {
54
       }).catch((e) => {
51
         console.log(e)
55
         console.log(e)