浏览代码

修改bug

cr 4 年之前
父节点
当前提交
50159cdcda
共有 2 个文件被更改,包括 13 次插入6 次删除
  1. 12 5
      src/pages/index/register.vue
  2. 1 1
      src/pages/manage/index.vue

+ 12 - 5
src/pages/index/register.vue

@@ -102,13 +102,13 @@
102 102
             </div>
103 103
         </div>
104 104
         <div class="main" v-if="step === 3">
105
-            <div class="return-page" @click="step = 2" v-if="!hideReturn">
105
+            <!-- <div class="return-page" @click="step = 2" v-if="!hideReturn">
106 106
                 <my-image
107 107
                     class="arrow"
108 108
                     src="/static/common/arrows_left.png"
109 109
                 ></my-image
110 110
                 >返回填写团长号
111
-            </div>
111
+            </div> -->
112 112
             <div class="tit">添加助理微信</div>
113 113
             <ul class="add-assistant">
114 114
                 <li @click="copy(kefu._id, '复制群助理微信成功')">
@@ -226,11 +226,15 @@ export default {
226 226
 
227 227
     // 函数
228 228
     methods: {
229
-        getGenCode() {
229
+        getGenCode(platform) {
230
+            let sendData = { platform: this.user.platform };
231
+            if(platform){
232
+                sendData.platform = platform;
233
+            }
230 234
             this.api
231 235
                 .get(
232 236
                     "/Group/GetGenCode",
233
-                    { platform: this.user.platform },
237
+                    sendData,
234 238
                     { pass: true }
235 239
                 )
236 240
                 .then((res) => {
@@ -357,6 +361,9 @@ export default {
357 361
                                 curShop: {},
358 362
                             });
359 363
                             this.step = 3;
364
+
365
+                            this.getAvailableWechat();
366
+                            this.getGenCode(this.form.fromPlatform);
360 367
                         } else {
361 368
                             this.fn.showModal({
362 369
                                 title: "注册失败",
@@ -686,7 +693,7 @@ export default {
686 693
         }
687 694
     }
688 695
 }
689
-.skip-btn{
696
+.skip-btn {
690 697
     margin-top: px(40);
691 698
     background-color: #f1f1f1;
692 699
     color: #333;

+ 1 - 1
src/pages/manage/index.vue

@@ -81,7 +81,7 @@
81 81
 
82 82
         <!-- <button class="btn" @click="layout">退出登录</button> -->
83 83
 
84
-        <div class="ver">0.5.44</div>
84
+        <div class="ver">0.5.45</div>
85 85
         <wyg-bottom-tab
86 86
             ref="tabbar"
87 87
             :tabIndex="2"