瀏覽代碼

avatarPhone

xujing 5 年之前
父節點
當前提交
3b7e4570bf
共有 1 個文件被更改,包括 5 次插入9 次删除
  1. 5
    9
      src/pages/project/h5Page.js

+ 5
- 9
src/pages/project/h5Page.js 查看文件

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