[baozhangchao] 3 년 전
부모
커밋
7dfef304aa
4개의 변경된 파일10개의 추가작업 그리고 5개의 파일을 삭제
  1. 2
    1
      config/dev.js
  2. 2
    1
      config/prod.js
  3. 0
    1
      src/pages/MyAddressList/AddressInfos/index.jsx
  4. 6
    2
      src/pages/userInfo/index.jsx

+ 2
- 1
config/dev.js 파일 보기

@@ -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 파일 보기

@@ -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 파일 보기

@@ -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 파일 보기

@@ -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)