[baozhangchao] 3 gadus atpakaļ
vecāks
revīzija
7dfef304aa

+ 2
- 1
config/dev.js Parādīt failu

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

+ 2
- 1
config/prod.js Parādīt failu

@@ -3,7 +3,8 @@ module.exports = {
3 3
     NODE_ENV: '"production"'
4 4
   },
5 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 9
     OSS: '""',
9 10
     // VERSION: '"2.0.33"',

+ 0
- 1
src/pages/MyAddressList/AddressInfos/index.jsx Parādīt failu

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

+ 6
- 2
src/pages/userInfo/index.jsx Parādīt failu

@@ -43,9 +43,13 @@ export default withLayout((props) => {
43 43
           icon: 'none',
44 44
         })
45 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 53
         }, 1000)
50 54
       }).catch((e) => {
51 55
         console.log(e)