Browse Source

avatarPhone

xujing 5 years ago
parent
commit
3b7e4570bf
1 changed files with 5 additions and 9 deletions
  1. 5
    9
      src/pages/project/h5Page.js

+ 5
- 9
src/pages/project/h5Page.js View File

@@ -63,11 +63,6 @@ export default class Index extends Component {
63 63
         })
64 64
       } else {
65 65
         const hFiveId = this.$router.params.id
66
-
67
-        if (!isEmpty(hFiveId)) {
68
-          this.loadH5Profile(hFiveId)
69
-        }
70
-
71 66
         // 没有 H5ID, 也没有分享
72 67
         if (isEmpty(hFiveId) && !this.$router.params.scene) {
73 68
           Taro.showModal({
@@ -82,12 +77,13 @@ export default class Index extends Component {
82 77
           return;
83 78
         }
84 79
 
85
-      }
86
-      this.avatarPhone()
87
-
88
-
80
+        if (!isEmpty(hFiveId)) {
81
+          this.loadH5Profile(hFiveId)
82
+        }
89 83
 
84
+        this.avatarPhone()
90 85
 
86
+      }
91 87
     })
92 88
   }
93 89